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

https://github.com/khianvictorycalderon/react-tic-tac-toe

A react tic tac toe sample game
https://github.com/khianvictorycalderon/react-tic-tac-toe

oxo react react-tic-tac-toe tic-tac-toe xox

Last synced: 6 months ago
JSON representation

A react tic tac toe sample game

Awesome Lists containing this project

README

          

# Tic-Tac-Toe

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

### Features:
- **Game Modes**: Play as "X" or "O".
- **Win Conditions**: Checks for horizontal, vertical, and diagonal wins.
- **Draw Condition**: Displays "Draw" when the board is full and no winner.
- **Game Over Message**: Shows the winner ("Player X Won" or "Player O Won") when the game ends.

### How to Play:
1. Click on **Play** to start the game.
2. Players take turns to click a square to place their "X" or "O".
3. The game ends when a player wins or the board is full with no winner (draw).