Tic-tac-toe: The classical game played on a 3x3 grid.
Programmed in Python 3.8.5, uses CLI.
- The player always starts the game doing the first move.
- The computer (oponnent) selects a random move.
- Player uses "X" to choose a free space, while the computer uses "O".
- The first one that forms a line of three wins.
- The program in action:
- Victory:
- Defeat:
- Draw: