chl218 / tic-tac-toe

Tic Tac Toe with Alpha–beta pruning and transposition table

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tic-tac-toe

Game theory optimizations to speed up Tic Tac Toe of board size 4x4 and 5x5

  • Minimax game-tree algorithm
  • Alpha-beta pruning optimization
  • Zobrist hashing function; pruning of same board configuration
  • Heuristic depth early termination optimization

Game Mode

  • Computer Vs Computer
  • Human Vs Human
  • Computer vs Human

To run the program

/> make
/> game 5x5 computer computer
.
.
.
/> game 4x4 human computer
.
.
.
/> game 3x3 human human

About

Tic Tac Toe with Alpha–beta pruning and transposition table


Languages

Language:C++ 99.3%Language:Makefile 0.7%