Brain Surgery - Medical Simulation Game

Seele01-Flash
By
Brain Surgery is a free medical simulation puzzle game that lets you step into the operating room and perform virtual brain surgery using realistic surgical tools and procedures.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Brain Surgery Simulator**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Semi-realistic "Microscopic/Endoscopic" view. The scene represents the interior of a human brain. Use a color palette dominated by fleshy pinks, deep reds, and dark purples. * **Camera:** Fixed perspective, looking down into a surgical cavity (First-person surgeon view). Add a slight "breathing" camera sway to mimic the patient's life signs. * **Core Models:** * **Brain Tissue (Walls):** Organic, uneven geometry enclosing the play area. Use soft shading (MeshPhongMaterial). * **Veins/Arteries:** Red and blue tubes pulsating rhythmically. * **The Tumor (Target):** A distinct, lumpy, slightly darker red or green mass attached to a vein. * **Surgical Tools:** Metallic, low-poly models (represented by simple geometric shapes if assets are unavailable, e.g., Cylinder for scalpel handle, flattened Cone for blade) attached to the cursor position. * **VFX:** * **Blood:** Simple red particle system emitting when a mistake is made or during incision. * **Lighting:** A strong, focused "Surgical Lamp" spotlight from the camera position, with vignetting at the screen edges to simulate focus. * **Optimization:** Use low-poly geometry for organic shapes. Use procedural textures (noise) instead of large image files to ensure fast mobile loading. ### 2. Audio Requirements * **BGM:** None or very subtle "Hospital Ambience" (low hum of air conditioning). * **SFX (Crucial for Atmosphere):** * **Heart Monitor:** A steady rhythmic *beep... beep...* that speeds up if the player makes mistakes. * **Action Sounds:** Wet "squish" sounds for touching tissue, metallic "clink" for tool selection. * **Feedback:** A harsh buzzer or "flatline" tone for Game Over. A triumphant chime for surgery completion. ### 3. Gameplay Loop * **Stage 1: Selection:** Player selects a tool from the UI (Scalpel, Forceps, or Suction). * **Stage 2: The Procedure (The "Strategy" & "Avoider" element):** * **Scalpel:** Player must trace a specific dotted line on the tumor to cut it loose. Deviating from the line causes damage. * **Forceps:** After cutting, player must drag the tumor out of the cavity without touching the sensitive brain walls (like the game "Operation"). * **Stage 3: Win/Loss:** * **Health Bar:** The patient starts with 100% health. Every mistake (touching wrong area, cutting too deep) reduces health. * **Game Over:** Patient health reaches 0 (Flatline). * **Victory:** Tumor is successfully removed and placed in a tray. ### 4. Mobile Controls & Interaction * **Screen Orientation:** **Landscape** (to maximize the surgical field of view). * **Touch Mechanics:** * **Offset Cursor:** Since the player's finger might block the view of the tiny incision, implement a slight Y-axis offset (the tool tip is slightly above the touch point). * **Raycasting:** Precise raycasting to detect if the tool tip hits the "Tumor" (Good) or "Healthy Brain" (Bad). * **UI Layout:** * **Tool Tray:** A sidebar on the Right side (thumb accessible) containing icons for tools. Buttons must be at least 44x44px. * **Vitals:** Top-left corner displaying the Health Bar (Pulse) and Score. * **Haptic Feedback:** Trigger the device vibration API (`navigator.vibrate`) whenever the player damages healthy tissue to provide instant tactile warning. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Brain Surgery is an engaging medical simulation puzzle game that offers players the unique opportunity to experience the intensity of neurosurgery without the years of medical training. This free-to-play browser game combines educational elements with challenging gameplay, making it perfect for anyone interested in medical procedures or puzzle-solving.

With a solid rating of 3.6/5 stars, this game has captured the attention of players who enjoy strategic thinking and precision-based challenges. The game puts you in the role of a surgeon, where every move counts and precision is key to patient survival.

Core Features

Realistic Medical Simulation

The game features authentic surgical tools including virtual scalpels, surgical tongs, and other medical instruments. Each tool serves a specific purpose in the surgical procedure, creating an immersive medical experience.

Progressive Difficulty System

Start with guided tutorials that walk you through each surgical step. Once you complete your first successful operation, unlock advanced modes that remove the training wheels and test your memory and surgical skills.

Educational Value

While entertaining, the game provides insight into real surgical procedures, making it both fun and informative for players interested in the medical field.

Completely Free to Play

Enjoy the full gaming experience without any cost. No downloads, no subscriptions, no hidden fees - just pure surgical simulation entertainment.

Gameplay Mechanics

Brain Surgery combines strategy and precision in a unique medical setting. Players must follow specific surgical protocols while managing the pressure of keeping their virtual patient alive. The game challenges you to:

  • Execute precise movements with surgical instruments
  • Follow complex multi-step procedures
  • Adapt to unexpected complications during surgery
  • Complete operations within time constraints

Challenge Progression

The initial playthrough includes comprehensive instructions and guidance. However, advanced modes remove these helpers, requiring players to rely on memory and skill developed during the tutorial phase.

Operation Guidelines

Mouse Controls

All surgical actions are performed using precise mouse movements that simulate real surgical motions. The intuitive control system makes complex procedures accessible to players of all skill levels.

Following Instructions

The game provides detailed step-by-step instructions during your first surgery. Pay close attention to these directions as they become crucial for success in advanced modes.

Surgical Precision

Accuracy is paramount - too many mistakes will result in surgical failure. Practice steady hand movements and careful tool selection to ensure successful operations.

Why Play Brain Surgery

Educational Entertainment : Experience the world of neurosurgery in a safe, virtual environment while developing strategic thinking and hand-eye coordination.

Stress-Free Learning : Unlike real surgery, mistakes here are learning opportunities rather than life-threatening situations.

Accessibility : No medical background required - the game teaches you everything needed through intuitive gameplay.

Replayability : Multiple difficulty modes and the challenge of perfecting your surgical technique provide lasting entertainment value.

Career Inspiration : For those considering medical careers, this game offers a glimpse into the precision and decision-making required in surgery.

Whether you're a puzzle enthusiast, someone interested in medical procedures, or just looking for a unique gaming challenge, Brain Surgery delivers an unforgettable virtual operating room experience.

Frequently Asked Questions (FAQ)