Skip to content

A simple and interactive Tic Tac Toe game implemented in frontend. Two players can enjoy this classic game on the same machine, taking turns to mark X and O on a 3x3 grid. The first player to align three marks in a row, column, or diagonal wins the game. If all squares are filled without a winner, it's a draw. Perfect for quick and fun matches!

Notifications You must be signed in to change notification settings

Ankitapradhan04/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game 🥷👾💻

A simple Tic Tac Toe game implemented in Python. Two players can play on the same machine.

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/tic-tac-toe.git
    cd tic-tac-toe
  2. Run the game:
    python tic_tac_toe.py

Usage

Players take turns entering their moves by specifying the row and column number. The game board is a 3x3 grid.

Game Rules

  1. 3x3 grid game board.
  2. Player 1 is X, Player 2 is O.
  3. First to get 3 in a row (horizontal, vertical, or diagonal) wins.
  4. If all 9 squares are filled without a winner, the game is a draw.

Contributing

  1. Fork the repo and create a new branch.
  2. Make your changes and commit.
  3. Push to your branch and create a pull request.

About

A simple and interactive Tic Tac Toe game implemented in frontend. Two players can enjoy this classic game on the same machine, taking turns to mark X and O on a 3x3 grid. The first player to align three marks in a row, column, or diagonal wins the game. If all squares are filled without a winner, it's a draw. Perfect for quick and fun matches!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published