Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 950 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 950 Bytes

Tic-Tac-Toe in React

This is a simple Tic-Tac-Toe game built using React and JavaScript. It was created as part of a learning project to get familiar with React concepts such as state management, event handling, and component-based architecture.

TicTacToe

Features

  • Two-player gameplay (Player × and Player ø).
  • Interactive board where players can click on squares to make their moves.
  • The game will automatically declare a winner when a player completes a line (horizontal, vertical, or diagonal).
  • The game resets after a win or draw.

Built With

  • React - A JavaScript library for building user interfaces.
  • JavaScript - The programming language used for the game logic.

Installation

Follow these steps to get the project up and running on your local machine.

  1. Clone the repository:
    git clone https://github.com/yourusername/tic-tac-toe-react.git