Skip to content

Matrix-Mesh/Tic-Tac-Toe-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Game

This is a simple implementation of the classic Tic-Tac-Toe game in Python. The game can be played in single-player mode against the computer or in multiplayer mode with two human players.

Features

  • Single-player mode: Play against the computer 🖥.
  • Multiplayer mode: Play against another human player 👨.
  • Displays the current state of the board after each move.
  • Determines and announces the winner or if the game is a draw.

How to Play

Single-Player Mode

  • Choose to play first or second against the computer 🖥.

Multiplayer Mode

  • Two players take turns to play 👨.

Game Rules

  • The game is played on a 3x3 grid.
  • Player 1 is 'X' and Player 2 (or the computer) is 'O'.
  • Players take turns placing their symbols in empty spots.
  • The first player to get three of their symbols in a row (vertically, horizontally, or diagonally) wins.
  • If all spots are filled and no player has three in a row, the game is a draw 🟰.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published