8000 GitHub - KingStoic/tictactoe-react: Tic-tac-toe with a glow-up: neon battles, brag-worthy high scores, and coffety confetti for every victory. · GitHub
[go: up one dir, main page]

Skip to content

About

Tic-tac-toe with a glow-up: neon battles, brag-worthy high scores, and coffety confetti for every victory.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tic-Tac-Toe (React + TypeScript)

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.

Features

  • 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

Getting Started

# Install dependencies
npm install

# Start the development server
npm run dev

# Build for production and preview locally
npm run build
npm run preview

The dev server prints a local URL you can open in any browser. Update src/App.tsx or the accompanying styles to tweak the experience.

Gameplay

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!

About

Tic-tac-toe with a glow-up: neon battles, brag-worthy high scores, and coffety confetti for every victory.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0