Tic-Tac-Toe is a game of two players who take turns in drawing either an ‘0’ or ‘X’ in one square of a grid consisting of nine squares. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. This project lets the user compete with the computer. The computer tries hard to block the opponent and win the game. The user can choose who will go first, the computer or the player.
Python 2.7
The user of the program can choose who should go first. It is upto his choice whether he/she wants to go first, or give the host a chance to start. The program ask the user his choice.