Skip to content

Python Tic Tac Toe Game with Start Button, Player Name Inputs, etc.

Notifications You must be signed in to change notification settings

nafianjaaay/Python-Tic-Tac-Toe-with-Simple-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python TicTacToe

This is a simple implementation of the classic Tic Tac Toe game in Python. The game features a clean and intuitive user interface, and allows two players to play against each other.

Getting Started

To get started, simply download the Python file 'tictactoe.py'. You can run the program by executing the following command in your terminal: python tictactoe.py

How to Play

Before starting the game, you will be prompted to enter the names of the two players. If you do not enter a name for a player, a default name ("Player 1" or "Player 2") will be used.

Once you have entered the player names, click the "Start Game" button to begin playing. The game will begin with Player 1 ("X") taking the first turn. To place a mark, simply click on an empty cell on the game board.

The game will continue until one player wins, or until the game is tied. If one player wins, a message box will appear to inform you of the result. You can then restart the game by clicking the "Restart" button.

Author

This program was created by Nafianjaaay. If you have any questions or suggestions, please feel free to contact me at [email protected].

About

Python Tic Tac Toe Game with Start Button, Player Name Inputs, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages