Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

❌⭕ Tic-Tac-Toe Game

📖 Overview

This project is a graphical Tic-Tac-Toe game developed using Python and Tkinter. It allows two players to play alternately on a 3×3 grid, automatically detects the winner or a draw, and provides an option to restart the game.

The project was built to strengthen Python programming, GUI development, and logical problem-solving skills.


✨ Features

  • 🎮 Two-player gameplay
  • ❌⭕ Alternate turns for Player X and Player O
  • 🏆 Automatic winner detection
  • 🤝 Draw detection
  • 🔄 Restart game functionality
  • 🖥️ Interactive graphical user interface

🛠️ Technologies Used

  • Python
  • Tkinter

📂 Project Structure

tic-tac-toe-python/
│
├── main.py
├── README.md
└── screenshots/

▶️ How to Run

Clone the repository

git clone https://github.com/Nidhi5380/tic-tac-toe-python.git

Navigate to the project folder

cd tic-tac-toe-python

Run the application

python main.py

📚 Learning Outcomes

  • Python Programming
  • GUI Development using Tkinter
  • Event-Driven Programming
  • Game Logic Implementation
  • Conditional Statements
  • Problem Solving

🚀 Future Improvements

  • Single-player mode with AI
  • Scoreboard
  • Sound effects
  • Dark mode
  • Adjustable board size

👩‍💻 Author

Nidhi Joshi

B.Tech Electronics & Telecommunication Engineering (2025)

About

A Python GUI-based Tic-Tac-Toe game developed using Tkinter with two-player gameplay, winner detection, draw handling, and restart functionality.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages