Thrinkxs / Tic-Tac-Toe

An multiplayer tic tac toe game that allows players to take turns in winning accross a board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tic-Tac-Toe Game

This is a simple web-based Tic-Tac-Toe game developed using React. It allows two players to play the classic Tic-Tac-Toe game and keeps track of their scores in a leaderboard.

Features

  • Two players can enter their names.
  • The game keeps track of each player's score.
  • The leaderboard displays players' names and scores.
  • Players can restart the game.
  • Players can quit the game and clear their scores.

Demo

You can play a live demo of the game here.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js and npm installed on your machine.

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/Thrinkxs/Tic-Tac-Toe.git
  2. Navigate to project directory: cd tic-tac-toe

  3. Install dependencies using npm install

  4. Usage: i. start dev server: npm run dev ii. Open your web browser and navigate to http://localhost:5173 to play the game. iii. Enter the names of Player 1 and Player 2. iv. Enjoy the game

Leaderboard

The leaderboard displays the names and scores of Player 1 and Player 2.

Restarting the Game

Click the "Restart Game" button to start a new game without changing players' names and scores.

Quitting the Game

Click the "Quit Game" button to clear player names and scores. This action cannot be undone.

Built With

React - JavaScript library for building user interfaces.

Author

Thrinkxs

About

An multiplayer tic tac toe game that allows players to take turns in winning accross a board


Languages

Language:TypeScript 87.5%Language:JavaScript 8.6%Language:HTML 3.3%Language:CSS 0.5%