Quarantine Defender

Seele01-Flash
By
Quarantine Defender is an intense zombie defense shooting game where you must prevent infected hordes from reaching the city. Use strategic gunfire and devastating airstrikes to maintain the quarantine barrier.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Quarantine Defender". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A first-person, stationary "Bunker Defense" perspective. Use a dark, gritty low-poly aesthetic. The scene should be shrouded in heavy distance fog (hex color #1a1a1a) to obscure enemy spawn points and create tension. * **Player Asset:** A simplified weapon model (composed of gray primitives) fixed at the bottom center of the screen, representing the player's rifle behind a barricade. * **Enemy Assets (Zombies):** Green and Grey `BoxGeometry` figures with glowing red eyes. They should spawn at the edge of the fog and shuffle slowly toward the camera (Z-axis movement). * **Environment:** A textured ground plane (asphalt or dirt). A low brick wall (the "Quarantine Line") visible at the very bottom of the screen. * **Performance:** Use instanced mesh rendering for zombies if possible to handle crowds. Limit dynamic lights; rely on ambient lighting and muzzle flash point lights. ### 2. Audio Requirements * **BGM:** A low, pulsating industrial drone or heartbeat sound to build suspense (using a synthesized oscillator loop if external assets aren't loaded). * **SFX:** * **Gunfire:** Short, punchy noise/white noise burst. * **Reload:** Mechanical click-clack sound. * **Zombie Death:** A low-pitch squish or thud. * **Airstrike:** A rising "swoosh" followed by a massive low-frequency boom. * **UI:** High-pitch blip for button presses. ### 3. Gameplay Loop * **Core Mechanic:** Endless waves of enemies move from the distance (Z = -50) toward the player (Z = 0). The player must shoot them before they reach the barricade. * **Combat Logic:** * **Shooting:** Raycasting from the camera to the touch point. One hit kills a standard zombie. * **Ammo:** The gun holds 10 rounds. When empty, the player cannot fire and must tap "Reload." * **Airstrike:** Pressing the Airstrike button destroys all currently active zombies. This has a 30-second cooldown. * **Win/Loss:** There is no winning, only survival. Game Over occurs if 3 zombies reach the barricade (breach the quarantine). Score increases by +10 for every kill. ### 4. Mobile Controls & Interaction * **Aim & Fire (Touch):** Implement "Tap to Shoot." Wherever the player taps on the 3D viewport, a ray is cast. If it intersects a zombie, the zombie dies. * **UI Overlay (HTML/CSS):** * **Reload Button:** A large, circular button (at least 60x60px) in the bottom-right corner. * **Airstrike Button:** A distinct button in the bottom-left corner, visually showing a cooldown overlay (e.g., grayed out when unavailable). * **Ammo Counter:** Large, readable text near the center crosshair or bottom center. * **Score/Health:** Top-left corner. * **Feedback:** * **Visual:** A muzzle flash (yellow sphere/light) appears briefly at the gun barrel on every shot. Screen shakes slightly (camera jitter) on Airstrike or Player Damage. * **Haptic:** Trigger `navigator.vibrate(20)` on gunshot and `navigator.vibrate(200)` on Game Over/Damage. * **Orientation:** Locked to **Landscape** mode for a wider field of view. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Quarantine Defender is a high-stakes zombie defense shooter that puts you on the front lines of humanity's last stand. When a mysterious infection spreads through crowds of people, you become the final barrier between the infected masses and the uncontaminated city. This browser-based tactical shooting game combines intense action with strategic defense gameplay, challenging players to make split-second decisions under extreme pressure.

The game features a dark, atmospheric setting where something has gone terribly wrong with the local population. Your mission is clear but daunting: prevent the infected from breaching the quarantine zone at all costs. Every shot counts, and every decision could mean the difference between salvation and citywide catastrophe.

Core Features

Intense Zombie Defense Action

Face overwhelming waves of infected individuals trying to break through your defensive position. The game creates genuine tension as you watch crowds of the infected approach your quarantine line, forcing you to make tactical decisions about when to engage and when to call for backup.

Dual Combat Systems

  • Precision Shooting : Use your primary weapon to pick off individual targets with careful aim
  • Airstrike Support : Call in devastating aerial bombardments to clear large groups when overwhelmed
  • Resource Management : Balance ammunition conservation with the need to stop advancing threats

Strategic Gameplay Elements

Unlike simple shooters, Quarantine Defender requires tactical thinking. You must decide when to engage individual targets versus when to use powerful but limited airstrikes. Managing your resources while under pressure adds depth to the shooting mechanics.

Atmospheric Horror Setting

The game creates a compelling post-apocalyptic atmosphere where the infected retain human appearances, making each engagement psychologically challenging. The urban quarantine setting adds authenticity to the crisis scenario.

Gameplay Mechanics

The core gameplay revolves around defending a static position against waves of infected civilians attempting to breach the quarantine perimeter. Players must maintain constant vigilance, as the infected approach from multiple directions and in varying group sizes.

Wave-Based Progression : Each wave brings new challenges with different crowd densities and movement patterns. Success requires adapting your strategy to handle both individual stragglers and large group formations.

Scoring System : Points are awarded for successful eliminations and maintaining quarantine integrity. Higher scores unlock recognition for exceptional defensive performance.

Operation Guide

Basic Controls

  • Mouse Movement : Aim your weapon with precision targeting
  • Mouse Click : Fire your primary weapon at targeted threats
  • Spacebar : Reload ammunition when running low
  • C Key : Deploy airstrike on designated target area

Tactical Tips

  • Conserve Ammunition : Don't waste shots on distant or non-threatening targets
  • Prioritize Threats : Focus on infected closest to the quarantine barrier
  • Time Airstrikes : Save aerial support for overwhelming crowd situations
  • Reload Strategically : Choose safe moments to reload when fewer threats are present

Advanced Strategies

Master players learn to anticipate crowd movements and position their attacks for maximum efficiency. Understanding when to use precision shooting versus area-effect airstrikes becomes crucial for surviving later waves.

Why Play Quarantine Defender

Free Browser Gaming : Enjoy intense zombie defense action without downloads or installations. Simply open your browser and start defending humanity.

Quick Session Gaming : Perfect for short gaming breaks, each session delivers immediate action and satisfaction without requiring long time commitments.

Skill-Based Challenge : The game rewards accuracy, timing, and tactical decision-making. Improve your defensive skills through repeated play and strategic learning.

Atmospheric Immersion : Experience the psychological tension of making life-or-death decisions in a crisis scenario. The game's premise creates genuine emotional engagement.

Accessible Action : Simple controls make the game immediately playable, while strategic depth ensures lasting appeal for dedicated players.

Whether you're looking for quick action gaming or wanting to test your defensive strategies, Quarantine Defender delivers intense zombie combat with meaningful tactical decisions.

Frequently Asked Questions (FAQ)