A modern web implementation of the classic Tic-Tac-Toe game. The UI is powered by React, styled with a lightweight design system, and written entirely in TypeScript to keep the game logic safe and predictable.
- Interactive 3×3 grid with highlighted winning lines
- Customizable player names that sync with the scoreboard and status
- Scoreboard that tracks Player X, Player O, and draws across rounds
- Persistent high scores (top 5 streaks) saved locally
- Coffety confetti celebration whenever a player wins
- Round management with quick resets and a full match reset button
- Accessible controls with descriptive labels for every square
- Powered by Vite for instant development feedback
# Install dependencies
npm install
# Start the development server
npm run dev
# Build for production and preview locally
npm run build
npm run previewThe dev server prints a local URL you can open in any browser. Update src/App.tsx or the accompanying styles to tweak the experience.
Player X always starts the round. Tap any empty square to place your mark. As soon as someone aligns three marks or the board fills up, start the next round or reset the match to play again. Have fun!