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
- Host: GitHub
- URL: https://github.com/khianvictorycalderon/react-tic-tac-toe
- Owner: khianvictorycalderon
- Created: 2025-01-09T07:27:46.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-01-09T07:31:26.000Z (9 months ago)
- Last Synced: 2025-03-30T06:51:14.628Z (6 months ago)
- Topics: oxo, react, react-tic-tac-toe, tic-tac-toe, xox
- Language: TypeScript
- Homepage: https://khianvictorycalderon.github.io/React-Tic-Tac-Toe/
- Size: 109 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).