Clone of the classic tic-tac-toe game made using pygame module. This game is meant as a one player game against your computer.
To start off, player clicks on a cell to place their "X". Then, the computer makes a random choice and places the "O" there. This repeats until either the player wins, computer wins or it is a tie.
It has functions to do the following:
- Handle drawing the board, the "X" and the "O".
- Check if a row, column or diagonal has been filled and by who (player or computer).
- Check to see if it was a tie
- Display the winning screen at the end which will show different text depending on the winner.