Tic-tac-toe is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.
A player can play against a computer or another player. The Computer opponent has three difficulties:
- Easy: Random movement
- Medium: Starts with 2 random moves before it makes smart moves
- Hard: Really smart moves using the minmax algorithm