AmanSinghBhogal / Tic-Tac-Toe

Tic-tac-toe is a game in which two players take turns in drawing either an ' O' or an ' X' in one square of a grid consisting of nine squares. The winner is the first player to get three squares of the same symbols in a row, column or diagonal. This C++ Code uses the MiniMax Algorithm to play as computer opponent.

Home Page:https://onlinegdb.com/TTk0kSCqO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error 404

Tic Tac Toe

Check it our at: https://www.onlinegdb.com/TTk0kSCqO

About Tic Tac Toe:

Tic-tac-toe is a game in which two players take turns in drawing either an ' O' or an ' X' in one square of a grid consisting of nine squares. The winner is the first player to get three squares of the same symbols in a row, column or diagonal. This C++ Code uses the MiniMax Algorithm to play as computer opponent.

Screen Shots:

S1 S2 S3 S4 S4 S4 S4 S4 S4 S4 S4

Steps to Run on Local Machine


Note: You need to have C++ compiler installed in your local Machine for Successfully running the code. Install MinGW

Step 1) Clone AmanSinghBhogal/Tic-Tac-Toe.
Step 2) Open Tic-Tac-Toe cloned Directory in Command Prompt and run the following command:
g++ Tic_Tac_Toe.cpp -o Tic_Tac_Toe

Step 3) Next, Run the following Command (it will execute the previously compiled file):

Tic_Tac_Toe.exe

Thank You


About

Tic-tac-toe is a game in which two players take turns in drawing either an ' O' or an ' X' in one square of a grid consisting of nine squares. The winner is the first player to get three squares of the same symbols in a row, column or diagonal. This C++ Code uses the MiniMax Algorithm to play as computer opponent.

https://onlinegdb.com/TTk0kSCqO


Languages

Language:C++ 100.0%