Tic-Tac-Toe

It's a simple game made using primary programming language c++.

The two player game can be played by the steps shown below.

  1. git clone https://github.com/AnshitaVishwa/Tic-Tac-Toe.git

  2. move to directory by : cd Tic-Tac-Toe

3.compile it by : g++ v1.cpp and then ./a.out

A change is there in the version 2 of the this game. v2.cpp is the game that you play with the computer. The computer makes the best optimal move and tries to win the game.

The AI of the game is made using the minimax algorithm which finds the best move chosen by the computer. the game can be played with computer by :

  1. git clone https://github.com/AnshitaVishwa/Tic-Tac-Toe.git

  2. move to directory by : cd Tic-Tac-Toe

3.compile it by : g++ v2.cpp and then ./a.out

Enjoy! :)