A simple interactive tic-tac-toe game built with React.
- Two-player gameplay (X and O)
- Click detection on game squares
- Winner calculation logic
- Game state management with React hooks
src/
├── App.js # Main Board component with game logic
├── index.js # React app entry point
└── styles.css # Game styling
- Players take turns clicking on empty squares
- X goes first, then O
- First player to get three in a row (horizontal, vertical, or diagonal) wins
- Game displays current player or winner status
npm install
npm startThe game will open in your browser at http://localhost:3000.