Classic game tic-tac-toe with unbeatable AI player
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
board.cc
board.h
controller.cc
controller.h
exception.cc
exception.h
game.cc
game.h
main.cc
player.cc
player.h

README.md

Tic-Tac-Toe (with Unbeatable AI Player)

This is a command-line tic-tac-toe game implemented using MVC architecture in C++. An unbeatable player is implemented with minimax algorithm.

Get Started

  1. Clone/Download the project
  2. Navigate your terminal into the directory of this project
  3. Type command make to compile
  4. Type command ./tictactoe to start a game
  5. Enjoy!

Unbeatable Computer Player

The option to turn on an unbeatable computer player is available now!

Fun Thing to Try!

You can make both players unbeatable AI players. You probably know the results are always going to be draw, but it is a fun thing to see!