Build a polished, playable browser game: doom. Make the core loop fun within the first…
- User
Build a polished, playable browser game: doom. 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
Built the playable
DOOM // RIFTbrowser game insrc/App.tsxwith a cohesive infernal arcade theme insrc/index.css.- Fast twin-stick survival loop with escalating enemies, scoring, fury combos, healing drops, and waves.
- Keyboard controls: WASD/arrows to move, mouse to aim/fire, Space to fire, P/Escape to pause, Enter to start/redeploy.
- Touch controls: left-side movement stick and right-side aim/fire input.
- Juicy Canvas feedback: muzzle flashes, particle bursts, projectile trails, hit flashes, screen shake, damage vignette, animated HUD.
- Start, pause, game-over, instant restart, and persistent local high-score table using
localStorage. - Canvas render loop uses
requestAnimationFrame, device-pixel scaling, capped particles, and throttled React HUD updates for smooth desktop/mobile performance.
Verified with
npm run buildvia the project build tool successfully.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.