I'll build a polished Sudoku game with a cohesive neon theme, tight controls, juicy feedback, and all the requested features. Let me start:
Now the sudoku engine (generator, solver, difficulty):
Now the sound engine (procedural, no assets needed) and particle system:
Now the game board and UI screens:
Now the start screen, HUD, game-over/pause overlays, and the main App orchestrator:
Now the main App with the game loop:
Now let's build to check for errors:
Let me refine a couple of things: touch-scroll prevention is too aggressive (blocks scrolling on the start screen), and the wrapper markup could be simpler.
There's a subtle race: I defer puzzle generation but the user can already input. Let me fix that:
Let me fix the win-time scoring which reads stale state:
Let me add the missing fadeIn keyframe and improve a couple polish details:
Let me do a final build:
Build clean. Here's what I built — NEON SUDOKU, a polished arcade-styled Sudoku:
Core loop (fun in <10s)
- Start screen → tap a difficulty → instantly land in a live puzzle with a selected center cell → tap a number pad button or press
1–9 → satisfying "pop" + cyan spark burst + combo builds.
Game systems
- Real Sudoku engine: backtracking solver with uniqueness check for puzzle generation (Easy/Medium/Hard/Expert with target clue counts).
- Score:
100 × combo per correct cell, +500 per completed row/col/box, time bonus & mistake penalty on win.
- Combo multiplier (×1 → ×9), 3 lives (mistakes), 3 hints per run.
- Notes/pencil-mark mode.
- Timer, pause, instant restart, quit-to-menu.
- Local high-score table (top 10) in
localStorage, sorted by score, shown on start screen.
Tight controls
- Keyboard: arrows/WASD to navigate,
1–9 place, 0/Del/Backspace erase, N notes toggle, H hint, P/Esc pause.
- Touch: large tappable number pad with remaining-digit counter; every cell is directly tappable;
onPointerDown for zero-latency response; double-tap zoom suppressed during play.
Juice
- Screen shake on mistake (multi-axis, cubic-bezier).
- Particle system on a canvas layer (spark, square, ring shapes with glow) — cyan burst on correct, red burst on wrong, green burst + row/col/box flash-wave on group completion, full-screen confetti on victory.
- Floating
+points, ROW!/COL!/BOX!, MISS, HINT labels that rise and fade.
- Cell pop-in scale, wrong-value color pulse, selection glow, peer highlighting, same-value highlighting.
- Subtle scanline sweep over the board, animated gradient frame glow, grid backdrop.
Theme & performance
- Cohesive neon-arcade look: Orbitron font, cyan/magenta/green palette on deep space background, glassmorphism panels,
neon-text glow.
- Uses transform/opacity for animations,
requestAnimationFrame particle loop capped at ~2× DPR — smoothly 60fps on desktop and mobile.
- Procedural WebAudio SFX (no assets to load) with mute toggle.
Files built: index.html, src/index.css, src/lib/sudoku.ts, src/lib/storage.ts, src/lib/audio.ts, src/components/ParticleLayer.tsx, src/components/Board.tsx, src/components/NumberPad.tsx, src/components/StartScreen.tsx, src/components/HUD.tsx, src/components/Overlay.tsx, src/App.tsx