An enhanced, minimalist, theme-aware Dino Runner built with React + TypeScript + Vite and TailwindCSS (shadcn tokens).
- Smooth 60fps game loop with physics (coyote time, jump buffer, jump-cut, fast-fall)
- Horizontal movement (A/D or Left/Right)
- Obstacles scale with score; birds fly lower over time (ducking matters)
- Collectibles (coins) with score effect (+100 each)
- Theme toggle (light/dark), pause (P), start/retry (Space)
- Responsive canvas and clean UI/HUD with shadcn tokens
- W / Up: Jump
- S / Down: Duck (ground) / Fast-fall (air)
- A / Left and D / Right: Move horizontally
- Space: Start / Retry
- P: Pause
pnpm dev– start dev serverpnpm build– type-check and buildpnpm preview– preview production buildpnpm lint– run ESLint
- React 19, TypeScript, Vite + SWC
- TailwindCSS v4 with shadcn/ui tokens
MIT – see LICENSE file.
