An open API service indexing awesome lists of open source software.

https://github.com/dewa-nanda/tic-tac-toe

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.
https://github.com/dewa-nanda/tic-tac-toe

game react tic-tac-toe-javascript tic-tact-toe

Last synced: 4 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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](https://skillicons.dev/icons?i=react,tailwind,vite,netlify)](https://skillicons.dev)
- **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](https://tic-tac-toe-ketapp.netlify.app/).

## 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:
```bash
git clone https://github.com/dewa-nanda/tic-tac-toe
```
2. Navigate to the project directory:
```bash
cd tic-tac-toe
```
3. Install the necessary dependencies:
```bash
npm install
```
4. Start the development server:
```bash
npm start
```
The game will be available on `http://localhost:3000`.

## License
This project is licensed under the MIT License.