Skip to content

A simple TicTacToe game with MiniMax algorithm and also with alpha beta pruning.

Notifications You must be signed in to change notification settings

IamSanjid/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe With MiniMax Algorithm

  • Implemented alpha beta pruning.
  • It cares about TicTacToe depth.
  • You can play with any size of boards. But AI is only useful for 3x3 board.
  • Player Vs Player works with any board but Player Vs CPU only works with 3x3 board.

Something people can try:

  • Make MiniMax Algorithm to work with bigger boards (Current algorithm is so slow for other boards).

Build

End

Feel Free to contribute this and help each other learn more.