Skip to content

Nidhi5380/tic-tac-toe-python

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

No releases published

Packages

 
 
 

Contributors

Languages