Tick-Tac-Toe
- 1 Devlogs
- 1 Total hours
A Tic-Tac-Toe game
A Tic-Tac-Toe game
For my StarDance project, I decided to work on a Tic-Tac-Toe game that I originally built as part of CS50’s Introduction to Artificial Intelligence with Python.
Instead of leaving it as the original CS50 project, I wanted to develop it further and make it feel more like a proper game.
I took inspiration from the Google Doodle Tic-Tac-Toe game and attempted to recreate some of its ideas and style. I also used PySimpleGUI to create the graphical interface.
The player plays against an AI opponent:
The game has three difficulty levels:
Each level changes how the AI chooses its moves.
The Impossible difficulty uses the Minimax algorithm, which I originally learned about through CS50 AI.
Minimax allows the AI to look at possible future moves and choose the move that gives it the best outcome.