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.
- Interactive Tic-Tac-Toe board
- Two-player functionality
- Turn-based game system
- Display game status (turn/winner)
- Reset game option
- 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
Check out the live version of the game here.
To run the project locally, follow these steps.
Ensure you have the following installed on your machine:
- Node.js (version 14.x or higher)
- npm (Node package manager)
- Clone the repository:
git clone https://github.com/dewa-nanda/tic-tac-toe
- Navigate to the project directory:
cd tic-tac-toe
- Install the necessary dependencies:
npm install
- Start the development server:
The game will be available on
npm start
http://localhost:3000
.
This project is licensed under the MIT License.