Skip to content

hichamdiouane/Tic-Tac-Toe-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Tic-Tac-Toe Game

Description

This is a simple implementation of the Tic-Tac-Toe game using Tkinter in Python. It allows two players to take turns, and the game declares a winner or a tie based on the rules of Tic-Tac-Toe.

Features

  • Graphical user interface with buttons for player interaction.
  • Randomly assigns starting player.
  • Checks for a winner or a tie after each move.

How to Play

  1. Run the program.
  2. The game starts with a randomly chosen player.
  3. Players take turns clicking on the empty spaces to make their moves.
  4. The game declares a winner or a tie based on the rules.

How to Run

  1. Make sure you have Python installed.
  2. Run the script using python tic_tac_toe.py in the terminal.

Dependencies

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

Contributing

Feel free to contribute by submitting bug reports, feature requests, or code improvements.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages