Skip to content

Sameera-18/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

TicTacToe

This is a simple Tic Tac Toe game implemented in Python using the Tkinter library for the GUI. The game allows two players to take turns and play the classic Tic Tac Toe game.Tkinter provides a robust and easy-to-use framework for creating graphical user interfaces.

Features

  1. Two-player gameplay (Player X and Player O).
  2. Graphical user interface using Tkinter.
  3. Automatic detection of game winner or tie.
  4. Game reset functionality after a win or tie.

Prerequisites

Python 3.x

How to Run

Run the script using Python: python tictac.py

How to Play

  1. The game starts with Player X.
  2. Click on an empty cell to mark it with your symbol (X or O).
  3. The game will automatically switch to the other player after each move.
  4. The game will check for a winner or a tie after each move.
  5. A message box will appear to announce the winner or declare a tie.
  6. The game board will reset automatically after a win or a tie.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages