A simple Tic-Tac-Toe game between Human and Computer. Simply an illustration of the MiniMax algorithm. It's just for fun during the pandemic.
Updates:
- The game interface got a major touch-up.
- AI difficulty levels added.
- Game board size can be changed via the symbol
BOARD_SIZEin the filedefs.h. The default value is3. - Alpha-Beta pruning strategy added. The strategy can be disabled by undefine the
_USE_ALPHA_BETA_PRUNE_symbol also in the header filedefs.h. - Several optimizations and code refactoring have been done to improve the game engine performance.
- GCC: type
make - MinGW: type
mingw32-make - DJGPP (DOS): type
makedos.bat
- Clang (macOS Tahoe)
- MinGW64 (Windows)
- DOS support is now supported again.
- Linux is not tested, I hope it would work :)
- This is just a basic version of the game. Feels free to fork and modify anyway you need.
- Tests are included in the
testfolder. To build the tests, typemake test.

