Skip to content

Tech-with-chizim/Tic-Tac-Toe-Game-with-GUI-python-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Tic Tac Toe Game with GUI

This repository contains a simple Tic Tac Toe game implemented in Python with a graphical user interface (GUI) using Tkinter.

How to Play

  1. Run the tictactoe.py script.
  2. The game window will appear, showing an initial message.
  3. Click on the cells to make your moves.
  4. The game will display the winner or a tie when the game concludes.
  5. Use the "Play Again" option from the menu to reset the board and play again.
  6. You can exit the game using the "Exit" option from the menu.

Features

  • Two players: X and O, with distinct colors (blue and green).
  • Play again option for a quick rematch.
  • Menu options to restart the game or exit.
  • Visual highlighting of winning cells.

Requirements

  • Python 3.x
  • Tkinter library (usually included with Python)

Usage

  1. Clone the repository to your local machine.
  2. Run the tictactoe.py script using Python.
python tictactoe.py

Contribution

Feel free to contribute to the improvement of this Tic Tac Toe game. You can submit issues, suggest enhancements, or create pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Make sure to include the appropriate license file (e.g., LICENSE) with the corresponding license text in your repository. You can choose a license that suits your preferences and needs. The example above uses the MIT License as an example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages