Skip to content

SoulReaperc/python-TTT-with-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

βœ… README.md

# πŸ•ΉοΈ Tic-Tac-Toe with AI & GUI

A beginner-friendly Python Tic-Tac-Toe game with a graphical interface using `tkinter`.  
Play against a friend .

## 🎯 Features

- πŸ”’ 3x3 grid with clickable buttons
- πŸ‘₯ 2-player local mode
- ♻️ Auto reset after win/tie
- πŸ’‘ Easy to extend for more advanced logic or styling


## πŸš€ How to Run

1. Make sure you have **Python 3.6+** installed.
2. Save the script as `tic_tac_toe_gui_ai.py`.
3. Run the script:
python tic_tac_toe_gui_ai.py
  1. Click on the grid to play. Game auto-restarts after a result.

πŸ“ File Structure

tic_tac_toe_gui_ai.py     # Main game script
README.md                 # This file

πŸ’‘ Future Improvements

  • Add unbeatable minimax AI
  • Add score tracking
  • Add dark mode UI
  • Add sound effects on moves/win
  • Export it as .exe for easy sharing

πŸ™Œ Made For

This is a great project for:

  • Students starting with Python and GUI development
  • Learning basics of game logic
  • Understanding how to combine UI and AI

Built with ❀️ using Python + Tkinter

About

A fun and beginner-friendly Tic-Tac-Toe game built with Python and Tkinter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages