Skip to content

Tic-tac-toe game with minimax implementation

License

Notifications You must be signed in to change notification settings

alxdrcirilo/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-tac-toe

Tic-tac-toe game with minimax and alpha-beta pruning implementation.

Tic-tac-toe (American English), noughts and crosses (Commonwealth English), or Xs and Os (Canadian or Irish English) is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner. It is a solved game, with a forced draw assuming best play from both players (Wikipedia).

Stats

ℹ️ Random player always starts first, and thus always has the upper hand.

stats