Skip to content

Tic Tac Toe game where you can play against the computer in 3 difficulty levels.

License

Notifications You must be signed in to change notification settings

cau777/Tic-Tac-Toe-With-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe-With-AI

Tic Tac Toe game where you can play against the computer in 3 difficulty levels.

AI modes:

  • easy - makes random moves.
  • medium - makes random moves but react if it can win in the next move or its opponent can.
  • hard - uses minimax (with alpha-beta pruning) to quickly search all possible moves and find the best one. (will win or force a draw)

Commands

  • help - displays more information.
  • exit - exits the program.
  • start - lets you play a game specifying X and O.

About

Tic Tac Toe game where you can play against the computer in 3 difficulty levels.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages