Skip to content

A simple Tic-Tac-Toe game built using React, showcasing the use of components, props, and state management. It allows two players to compete on a 3x3 grid, displaying game status and providing a reset functionality to start over.

Notifications You must be signed in to change notification settings

dewa-nanda/tic-tac-toe

Repository files navigation

Tic-Tac-Toe Game (React)

A simple Tic-Tac-Toe game built using React, showcasing the use of components, props, and state management. It allows two players to compete on a 3x3 grid, displaying game status and providing a reset functionality to start over.

Features

  • Interactive Tic-Tac-Toe board
  • Two-player functionality
  • Turn-based game system
  • Display game status (turn/winner)
  • Reset game option

Tech Stack

My Skills

  • React: JavaScript library for UI components
  • Tailwind CSS: For styling and layout
  • Vite: Fast development environment and build tool for React projects
  • Netlify: Used for deploying the live version of the project

Demo

Check out the live version of the game here.

Project Setup

To run the project locally, follow these steps.

Prerequisites

Ensure you have the following installed on your machine:

  • Node.js (version 14.x or higher)
  • npm (Node package manager)

Installation

  1. Clone the repository:
    git clone https://github.com/dewa-nanda/tic-tac-toe
  2. Navigate to the project directory:
    cd tic-tac-toe
  3. Install the necessary dependencies:
    npm install
  4. Start the development server:
    npm start
    The game will be available on http://localhost:3000.

License

This project is licensed under the MIT License.

About

A simple Tic-Tac-Toe game built using React, showcasing the use of components, props, and state management. It allows two players to compete on a 3x3 grid, displaying game status and providing a reset functionality to start over.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published