/TicTacToe

Small tic tac toe game for two players, which was written using c++

Primary LanguageC++

TicTacToe

Artificial Intellegence. It's a simple tic tac toe game, which is implemented using c++ and minimax algorithm for AI. You can play this game with a partner and with a computer. At the beginning of the game, you can decide about your opponent. When the program asks, just type c or p.

How to play: After starting you will see the field with the symbols '*'. For playing you should use 1 or 0 for your choice.

First you should choose the position, where you would like to set your choice. Example: 11, 12, 21... etc.

Then, you type 1 or 0.

IMPORTANT: If you play with a computer, use 1 for playing!