/React-Tic-Tac-Toe

Learning React Essential By Creating Tic Tac Toe Game

Primary LanguageCSS

React Tic-Tac-Toe Game

Welcome to the React Tic-Tac-Toe game! This is a simple implementation of the classic Tic-Tac-Toe game built using React. This project was created for learning purposes to understand the fundamentals of React.

Features:

  • Two-player mode: Play against a friend on the same device.
  • Interactive game board: Click on the squares to make your move.
  • Winner declaration: The game declares the winner or a draw once the game ends. Getting Started: Follow these instructions to get the project up and running on your local machine.

Prerequisites: Node.js and npm installed on your machine.

Installation: Clone the repository to your local machine:

https://github.com/DProcrastinator/React-Tic-Tac-Toe.git

Navigate to the project directory: cd react-tic-tac-toe

Install the required dependencies: npm install

Once the installation is complete, you can run the game using: npm run dev

This will start the development server, and the game will be accessible at http://localhost:3000 in your web browser.

Preview: image