Build a polished, playable browser game: Doom remix. Make the core loop fun within the…
- User
Build a polished, playable browser game: Doom remix. 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 Doom-remix raycaster FPS game. Let me first explore the project structure.
This is a big build. Let me create the game. I'll start with the procedural sprite generator, then the raycasting engine, then the React UI.
Now the raycasting engine — the heart of the game.
Now the React UI wrapping the engine — start screen, HUD, pause, game-over, high scores, and touch controls.
Now let me update the page title and build.
Build succeeded. Let me make one refinement — re-lock the pointer on resume for desktop mouse-look.
I built DOOM REMIX, a complete, playable browser FPS with a hand-rolled raycasting engine. Here's what's in it:
Core gameplay (fun in <10s)
- Real raycasting 3D engine rendering a hellish maze at an adaptive internal resolution for smooth 60fps on desktop and mobile.
- Shotgun combat with 6-pellet hitscan spread, procedurally drawn demon enemies that spawn, chase, separate from each other, and claw at you.
- Wave system — each wave adds tougher/faster demons, awards bonus score + health, and scatters health/ammo pickups.
Juicy feedback
- Screen shake on firing and taking hits
- Particle blood bursts (billboarded, depth-tested against the wall z-buffer)
- Muzzle flash (radial glow + screen tint), weapon recoil + bob animation
- Hit markers, dynamic crosshair spread, hurt/pickup screen flashes, vignette, and scanline overlay for a cohesive CRT-hell aesthetic
- Procedural Web Audio SFX for shots, hits, claws, pickups, and empty-clip clicks
Controls
- Desktop: WASD move, mouse look (pointer lock), click/Space to fire, Esc to pause
- Touch: on-screen movement joystick, drag-to-look zone, and a big fire button
Game states & UI
- Animated start screen with rotating 3D backdrop and control hints
- Live HUD (health, ammo, score, wave, demons-left) + minimap with enemies/pickups/player heading
- Pause (resume/restart/quit), game-over with stats and instant restart
- Local high-score table ("Hall of the Slain") with name entry, persisted via localStorage
Everything builds cleanly. Hit ENTER HELL and start ripping and tearing.
Files built:
src/game/sprites.ts,src/game/engine.ts,src/game/highscores.ts,src/components/TouchControls.tsx,src/App.tsx,index.html