A commandline Tic-Tac-Toe game implemented in C, featuring an AI opponent powered by the Minimax algorithm.
- Compatible only with Linux environments.
- Requires a terminal that supports ANSI escape codes; otherwise, the UI may not display correctly.
To build and run the game, use the following commands:
make
./tictactoe
Enjoy playing against the AI!
The game has a few tests implemented; mostly for the board representation. In case you'd like to run the tests use:
make test
NOTE: Testing requires the CUnit library