Skip to content

About

A Tic Tac Toe game built with Python's Tkinter. You play as X against an AI (O) powered by the Minimax algorithm, with a live scoreboard. No external dependencies, just the standard library.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe (Minimax AI)

A classic Tic Tac Toe game with a graphical interface built using Python's standard Tkinter library. You play as X against an AI opponent (O) that uses the Minimax algorithm.

Screenshot

Features

  • Clean, simple GUI with Tkinter, no external libraries required
  • AI opponent using the Minimax algorithm
  • Live scoreboard tracking Human (X) wins vs AI (O) wins
  • Automatic board reset after each round

Requirements

  • Python 3.x (Tkinter ships with the standard Python distribution on Windows and macOS)

Linux users: Tkinter may need to be installed separately:

sudo apt install python3-tk

No pip install needed, this project uses only the standard library.

Usage

python tic-tac-toe.py

About

A Tic Tac Toe game built with Python's Tkinter. You play as X against an AI (O) powered by the Minimax algorithm, with a live scoreboard. No external dependencies, just the standard library.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages