Skip to content

This is a simple implementation of the classic Tic Tac Toe game built with React. Enjoy a two-player game where each player takes turns to place their mark (X or O) on a 3x3 grid. The first player to have three of their marks in a row (horizontally, vertically, or diagonally) wins the game.

Notifications You must be signed in to change notification settings

Pramodjena/TicTacToe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Tic Tac Toe Game

Overview

This is a simple implementation of the classic Tic Tac Toe game built with React. Enjoy a two-player game where each player takes turns to place their mark (X or O) on a 3x3 grid. The first player to have three of their marks in a row (horizontally, vertically, or diagonally) wins the game.

Features

  • Two-player gameplay.
  • Dynamic board that updates as players make moves.
  • Clear winner determination with winning lines highlighted.
  • Option to restart the game after completion.

Tech

  1. HTML
  2. CSS
  3. React

Demo

You can try out the live demo of the game Deploy Link.

Installation

To run the game locally, follow these steps:

  1. Clone the repository
  2. Install Dependencies (npm install)
  3. Run locally (npm run dev)

About

This is a simple implementation of the classic Tic Tac Toe game built with React. Enjoy a two-player game where each player takes turns to place their mark (X or O) on a 3x3 grid. The first player to have three of their marks in a row (horizontally, vertically, or diagonally) wins the game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published