I'll build "AlphaDrop" - a colorful tile-matching game where alphanumeric tiles fall onto a grid. Match 3+ same characters OR sequences (A-B-C, 1-2-3) to clear them with chains! Let me create this with juicy canvas-based rendering.
Now I have a good understanding. Let me build "AlphaDrop" - a tile-matching puzzle game where alphanumeric tiles fall onto a grid. Match 3+ of the same character OR sequences (A-B-C, 1-2-3, C-B-A, etc.) horizontally or vertically. Chains multiply your score!
Let me start by updating the HTML title and creating the game files:
Now let me create the main Game component with canvas rendering, particles, screen shake, and controls:
Let me fix the lint errors and then create the main App with start/pause/gameover screens:
Now let me build to verify everything works:
Build succeeded. Let me tune the initial fall speed to make the game feel snappier — critical for the "fun in 10 seconds" goal:
Let me simplify one bit of logic and then run a final build:
Build passes cleanly. Here's what I built — AlphaDrop, a polished alphanumeric board puzzle game:
🎮 Game Concept
Alphanumeric tiles (A, B, C, D, 1, 2, 3, 4) fall onto a 6×12 board. Clear them by making:
- 3+ matches of the same character in a row/column
- Sequences like A-B-C, B-C-D (ascending or descending) or 1-2-3, 4-3-2
- Chain reactions — cleared tiles cause others to fall, potentially triggering more clears with escalating score multipliers (×1.75 per chain)
🎨 Visual Theme
Deep space-purple gradient with fuchsia/cyan glow accents. Each character has its own vibrant color palette with radial glow. Tiles use gradient fills, inner highlights, and rounded corners for a "candy" feel.
⚡ Juice
- Screen shake — scales with match size + chain depth
- Particle bursts on every tile landing and clear (canvas circles with gravity)
- Landing bounce — tiles scale-pop on placement
- Clear animation — cleared tiles scale up + fade with particle explosion
- Ghost drop indicator — dashed outline shows where the tile will land
- Floating score text with chain multiplier callouts (
+250 ×3 CHAIN!)
- Ambient stars drifting in the background
🕹 Controls
- Keyboard: ←/→ or A/D (with hold-to-repeat), ↓ soft drop, Space/↑ hard drop, P/Esc pause
- Touch: drag to aim column, tap or swipe ↓ to hard drop
🖥 States
- Start screen with name input, animated title, sample tiles, controls guide, and high-score preview
- Playing with HUD showing Score / Best / Level / Next-3 queue
- Pause overlay with Resume/Quit buttons
- Game Over overlay with final score, high-score table highlighting your new entry, "New Best!" animation, and instant restart (button or R/Enter)
💾 Persistence
Top-10 high scores stored in localStorage with player name (also persisted).
🚀 Performance
- Full-canvas rendering via a single
requestAnimationFrame loop
- All game state in refs (no per-frame React re-renders)
- devicePixelRatio-aware crisp rendering (capped at 2× for mobile)
- Responsive layout that recomputes cell size on resize
Files built: index.html, src/game/logic.ts, src/game/Game.tsx, src/App.tsx