Pandemic 2

Seele01-Flash
By
Pandemic 2 is a strategic simulation game where you play as a virus spreading across the globe. Evolve your pathogen, adapt to different environments, and overcome humanity's defenses in this acclaimed strategy experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Pandemic Strategy: Global Outbreak**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A stylized, modern 3D representation of the Earth. Instead of a flat 2D map, create a **low-poly interactive 3D Globe** suspended in a dark, void-like space. The aesthetic should be "clinical yet sinister," using deep blues for oceans and flat greens for healthy landmasses. * **Dynamic Coloring**: The core visual mechanic is the color shift of landmasses. Countries must dynamically change color based on infection status: Green (Healthy) → Red (Infected) → Black (Dead/Destroyed). * **Particle Effects**: * **Transport**: Tiny 3D models or glowing particles representing **Planes and Ships** traveling along curved arcs (Great Circle paths) between countries to visualize disease transmission vectors. * **Infection**: Subtle floating "bio-hazard" dust or distinct particle clouds over heavily infected regions. * **Mobile Optimization**: * Use `THREE.InstancedMesh` for transport particles to maintain 60 FPS. * Limit the Earth sphere geometry segments (e.g., 32x32) or use a simplified geo-json extrusion for countries to keep vertex count low. * Use simple Lambert or Phong materials; avoid expensive PBR calculations for mobile batteries. ### 2. Audio Requirements * **BGM**: A dark, brooding, and slow-tempo ambient track. It should feel "biological" and suspenseful (synths, low pulsing bass, subtle heartbeats). The music should increase in intensity or tempo as the global infection rate rises. * **SFX**: * **UI Interactions**: Sharp, high-tech "medical equipment" clicks and beeps. * **Events**: A low "warning siren" or "news ticker" sound when a border is closed or a vaccine is started. * **Infection**: A squishy or coughing sound effect when a new country becomes infected. * **Victory/Defeat**: A flatline tone for game over (cure found), and a dark orchestral swell for victory (humanity eradication). ### 3. Gameplay Loop * **Core Mechanism**: The player acts as the Pathogen. The goal is to infect and kill the entire world population before a Cure is developed. * **Phase 1: Patient Zero**: Player selects a starting country. Simulation begins. * **Phase 2: Evolution (The Economy)**: * As the virus infects people and kills them, the player earns **DNA Points** (Evolution Points). * These points are used to purchase upgrades in three categories: 1. **Transmission**: (e.g., Air, Water, Rodent, Insect) - Increases spread rate. 2. **Symptoms**: (e.g., Coughing, Fever, Organ Failure) - Increases lethality and visibility. 3. **Resistances**: (e.g., Heat/Cold Resistance, Drug Resistance) - Slows down cure research. * **Phase 3: AI Response**: The "World AI" reacts to the virus visibility (severity). Governments will close borders (stopping ship/plane particles), distribute masks, and fund research (Cure progress bar). * **Win/Loss Conditions**: * **Win**: 0 Living Humans remaining. * **Loss**: Cure reaches 100% completion or the virus kills all hosts before spreading to everyone (self-eradication). ### 4. Mobile Controls & Interaction * **Camera & Navigation**: * **OrbitControls**: Allow single-finger swipe to rotate the globe. * **Pinch-to-Zoom**: Zoom in/out of the globe (limit zoom range to prevent clipping). * **Input handling**: * **Raycasting**: Tapping a country on the 3D globe highlights it and opens a bottom-sheet UI showing specific stats (Infected vs. Dead vs. Healthy count). * **UI Layout (HTML Overlay)**: * **Top Bar**: Global Stats (Total Population, Infected, Dead, Cure Progress %) and a News Ticker (scrolling text for random events). * **Bottom Bar**: Large, thumb-friendly buttons for "Disease Type" (Menu), "World Map" (Reset View), and "Evolution" (Upgrade Tree). * **Upgrade Menu**: A full-screen modal or slide-up drawer with large icons for purchasing symptoms/transmission modes. * **Feedback**: * Trigger `navigator.vibrate(short)` when popping bubbles or purchasing upgrades for tactile feedback. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Pandemic 2 is a critically acclaimed strategy simulation game that puts you in control of a deadly pathogen. With an impressive 4.8/5 rating, this browser-based game challenges players to spread their virus across the globe while adapting to humanity's countermeasures. Unlike traditional strategy games, Pandemic 2 offers a unique perspective where you play as the disease rather than fighting against it.

This free-to-play strategy game combines elements of resource management, evolution mechanics, and global strategy into an engaging experience that has captivated players worldwide. The game's realistic approach to pandemic modeling makes it both educational and entertaining.

Core Features

Strategic Virus Evolution

Pandemic 2 features a sophisticated evolution system where you spend evolution points to upgrade your pathogen. Choose from various symptoms, transmission methods, and resistance traits to adapt your virus to different environments and overcome medical responses.

Global Pandemic Simulation

Watch your disease spread across a detailed world map featuring realistic country interactions. Each nation responds differently to your pandemic, closing borders, developing vaccines, and implementing quarantine measures based on the threat level.

Deep Strategic Gameplay

The game offers multiple difficulty modes: - Relaxed Mode : Perfect for beginners learning the mechanics - Realistic Mode : Advanced difficulty with more aggressive countermeasures

Choose from three different microbe types, each with unique characteristics and challenges that affect your spreading strategy.

Real-Time News System

Stay informed about your pandemic's progress through an integrated news feed that reports on disease outbreaks, government responses, and global events affecting your virus's spread.

Game Mechanics

Evolution Points System

As your virus spreads and time passes, you'll earn evolution points. These precious resources allow you to: - Add new symptoms to increase lethality - Improve transmission methods (airborne, waterborne, insect-borne) - Develop resistance to drugs, heat, cold, and moisture - Adapt to different climates and medical responses

Strategic Decision Making

Success requires careful planning and timing. Spread too aggressively early on, and countries will close their borders. Move too slowly, and vaccines will be developed before you achieve global coverage.

How to Play

Getting Started

  1. Select Your Mode : Choose between Relaxed or Realistic difficulty
  2. Pick Your Pathogen : Select from three available microbe types
  3. Choose Starting Location : Begin your pandemic in any country
  4. Monitor Spread : Watch the world map and news reports
  5. Evolve Strategically : Spend evolution points on upgrades
  6. Adapt and Overcome : Respond to humanity's countermeasures

Controls and Interface

  • Click Countries : View detailed statistics and infection rates
  • Map Navigation : Use the mini-map to move around the world
  • Evolution Menu : Access upgrade options when points are available
  • News Panel : Monitor global events and responses

Winning Strategy Tips

  • Start in a highly populated country with good international connections
  • Focus on transmission early, symptoms later
  • Avoid detection by keeping lethality low initially
  • Adapt your virus to counter specific regional defenses
  • Time your evolution carefully to maximize global impact

Why Play Pandemic 2

Pandemic 2 offers a unique gaming experience that combines strategy, simulation, and educational elements. The game provides insight into how diseases spread and how global health systems respond to pandemics. With its simple interface but deep strategic gameplay, it's accessible to casual players while offering enough complexity for strategy enthusiasts.

The game's replay value is exceptional, as each playthrough presents different challenges and opportunities. The realistic pandemic modeling makes every decision meaningful, creating tension and engagement that keeps players coming back.

Technical Requirements

Pandemic 2 runs directly in your web browser without requiring downloads or installations. The game is compatible with all modern browsers on desktop and mobile devices, making it easily accessible wherever you are.

Frequently Asked Questions (FAQ)