Build a polished, playable browser game: DDtank that can move,boom and destrayable terrain. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
Assistant
I'll build a DDTank-style artillery game with destructible terrain. Starting with the game engine.
Now the core game engine with destructible terrain, physics, particles and juice.
Now the React app with start screen, HUD, pause, game over and high scores.
Built and building cleanly. Here's what's in the game:
BOOMTANK — a DDTank-style artillery duel in src/game/engine.ts + React shell.
Destructible terrain: procedurally generated neon-crust heightmap backed by a Uint8Array collision mask; every blast carves the mask the terrain canvas ( + scorched rim), so craters are permanent and tanks fall through collapsed ground.
and
destination-out
Core loop in <10s: you spawn facing enemies immediately, hold FIRE to swing the oscillating power meter, release, watch the arc dotted preview, and blow a hole in the world. Waves escalate with more/tougher enemies and smarter AI (brute-force ballistic solver with wind, error shrinking each wave).
Juice: screen shake scaled to blast size, hit-stop slow-mo on your kills, sparks/smoke/rock chunks/shockwave rings, floating damage & combo text, muzzle flashes, squash-bob tanks with googly eyes, WebAudio SFX (shoot, boom, hurt, kill jingle, wave fanfare) with mute toggle.
Systems: score with combo multipliers + kill/wave bonuses, wind indicator, per-tank HP bars, knockback and fall damage.
States: start screen with controls + high-score table, pause (P/Esc/⏸), game over with "New High Score" badge and instant restart (R/Enter), top-10 scores persisted in localStorage.
Controls: keyboard (A/D, ↑↓ aim, Space charge, Shift jump), mouse aim + click-to-charge, and on-screen touch pads with pointer capture for mobile.