Skip to content

IIKirito-kunII/-Tic-Tac-Toe-1p-vs-2p-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Tic Tac Toe Game

Welcome to the Tic Tac Toe Game repository! This is a simple command-line implementation of the classic Tic Tac Toe game in Python. The game is designed for two players to take turns and try to get three of their symbols in a row, either horizontally, vertically, or diagonally.

How to Play

  1. Clone or download the repository to your local machine.
  2. Open a terminal or command prompt and navigate to the repository directory.
  3. Run the tic_tac_toe.py script using the Python interpreter: python tic_tac_toe.py.
  4. Follow the on-screen instructions to play the game.
  5. After the game ends, you can choose to restart or exit the game.

Features

  • Player vs Player mode: Two players can take turns to play the game.
  • Win Detection: The game automatically detects if a player has won by getting three symbols in a row.
  • Draw Detection: If all cells are filled and no player has won, the game will end in a draw.
  • Restart Option: After the game ends, you can choose to restart and play another round.

Requirements

Usage

  1. Clone the repository:

About

My First Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages