stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

56m 19s logged

Tic-Tac-Toe

Overview

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 Game

The player plays against an AI opponent:

  • Player = X
  • AI = O

The game has three difficulty levels:

  • Easy
  • Medium
  • Impossible

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

Minimax allows the AI to look at possible future moves and choose the move that gives it the best outcome.

0
31

Comments 0

No comments yet. Be the first!