I'll build a polished incremental survival zombie game with all the requested features. Let me start by exploring the project structure and then build the game.
Now let me build the game. I'll create a canvas-based zombie survival game with React managing the UI states, and a custom game engine for smooth 60fps gameplay.
Now let me create the game engine and all components. I'll structure it into several files:
Now let me create the renderer:
Now let me create the high score utility:
Now let me create the main App component with all the game states:
Now let me update the CSS for animations:
Let me build to check for errors:
The build succeeds. Now let me test and refine the game. Let me review the engine to make sure the game loop is fun within the first 10 seconds - I want to ensure zombies spawn quickly and the auto-aim works well:
I want to make the early game more exciting. Let me adjust spawning to have zombies appear faster at start, and boost early wave feel:
Let me improve the spawning to be faster at the start. I'll also spawn a few zombies immediately to make the first seconds engaging:
Now let me also make the early zombies easier to kill for that satisfying first-kill experience and reduce first level XP requirement:
Now lower the first level XP so players level up in the first 10 seconds:
Let me also increase the initial damage slightly so zombies die fast and feel satisfying:
Let me also add a vignette and improve the renderer with more polish. Let me also add a pulsing ring around the player for the magnet range when orbs are nearby, and add a subtle blood splatter effect:
Let me add a vignette effect and low-health red flash to the renderer:
Now let me also make the player bob slightly when moving for more juice. Let me enhance the player rendering and the zombie approach animation:
Now update gun and invincibility references to use playerBob:
Now let me add zombie wobble animation for more character:
Now update inner circle and eyes to use wobble:
Let me build again to check:
Builds successfully. Now let me review the App component to ensure the touch controls work well and there aren't any issues:
The code looks good. Let me now add a few more polish touches - I want to add a wave announcement banner and make the game feel more complete. Let me also add sound-like visual feedback (flash on the whole screen when a wave starts):
Let me add a wave announcement field:
Now add wave announcement logic in the engine:
Now add wave announcement rendering in the renderer:
Let me build again:
Let me check the unused import warning I had earlier was resolved:
Let me check if Zombie and Particle and Player are actually used:
Good, all are used. Now let me also review the full renderer to make sure everything is consistent:
The game is complete. Let me do a final review of everything and add one more enhancement - I want the start screen to have some animated zombie sprites in the background for visual interest:
Let me add an animated background for the menu screen with floating zombie silhouettes:
Let me enhance the menu background animation with floating zombie circles:
Now let me also add a "mobile hint" showing the touch instructions more prominently on the start screen, and add a pulsing animation to the play button text:
The game looks complete. Let me add a subtle pulsing animation to the play button and also add keyboard shortcut hints:
Let me do a final build to confirm everything works:
Let me do a final review of the complete game to make sure everything is solid:
Everything looks great. Let me verify the full file listing to make sure all files are in place:
The project is complete. Here's a summary of what was built:
Dead Zone — Zombie Survival Game
Core Game Features:
- Canvas-based 2D game engine running at 60fps with a tight game loop
- Auto-aim shooting — bullets automatically target the nearest zombie, making the game fun instantly
- WASD/Arrow key movement for keyboard, virtual joystick for touch/mobile
- Initial zombie burst — 3 zombies spawn immediately so action starts within the first second
Juicy Feedback:
- Screen shake on hits, kills, crits, and level-ups (scaled by impact)
- Particle effects — muzzle flash, blood splatter, death explosions, XP sparkles, level-up bursts
- Damage numbers floating up from hits with larger crit text
- Zombie knockback on bullet impact
- Player bob animation and pulsing glow
- Zombie wobble/squash with glowing red eyes that track the player
- Boss purple aura glow effect
- Low health red pulse overlay
- Vignette for atmosphere
- Combo counter for rapid kills
Progression System:
- 4 zombie types: Normal, Fast, Tank, Boss (each with unique stats and visuals)
- XP orbs with magnetic pickup that accelerate toward the player
- Level-up upgrade system — choose from 3 random upgrades (Firepower, Speed, Rapid Fire, Vitality, Velocity, Piercing, Magnet, Critical, Regeneration)
- Wave system with escalating difficulty and wave announcements
- Score system with combo multipliers
UI/UX:
- Start screen with animated zombie silhouettes, pulsing play button, control hints
- Pause screen (ESC/P key)
- Level-up screen with 3 upgrade cards
- Game over screen with final stats
- Local high score table (localStorage, top 10)
- Instant restart — Play Again button or SPACE/ENTER
- HUD — health bar, XP bar, level, score, wave, kills, timer
- Responsive — works on desktop and mobile with touch controls
Files built: index.html, src/game/types.ts, src/game/upgrades.ts, src/game/engine.ts, src/game/renderer.ts, src/game/highscores.ts, src/App.tsx, src/index.css