/tictactoe-react

This is a simple Tic-Tac-Toe game for two players built with React.

Primary LanguageJavaScript

Tic-Tac-Toe Game App

This is a simple Tic-Tac-Toe game built with React. The game allows two players to take turns placing their marks (X or O) on a 3x3 grid. The game automatically checks for a winner or a draw and provides an option to reset the game.

Features

  • Two-player Game: Players X and O take turns to mark the tiles on the board.
  • Winner Detection: The game checks for winning combinations after each move and declares the winner.
  • Draw Detection: If all tiles are filled without a winner, the game is declared a draw.
  • Sound Effects: The game includes sound effects for tile clicks and game over.
  • Reset Game: Players can reset the game to start a new match.

Live Demo

Check out the live demo of the Tic-Tac-Toe game app here: https://tictactoe-3.netlify.app/

Enjoy!