Heart Surgery - Medical Simulator Game

Seele01-Flash
By
Heart Surgery is an immersive medical simulation game where you perform realistic heart operations. Use authentic surgical tools and follow proper medical procedures in this educational and challenging surgery simulator.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Heart Surgery Simulator 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Stylized "Medical Realism". Use a slightly cartoonish, vibrant color palette (deep reds for organs, stark whites for bones, sterile blues for drapes) to match the reference image but rendered in 3D. The style should be reminiscent of *Surgeon Simulator* but optimized for mobile WebGL. * **Camera Perspective**: Fixed Top-Down First-Person (Surgeon's POV). The camera should look directly down into the patient's chest cavity. * **Key Models**: * **Patient Torso**: Covered mainly by a blue sterile drape, with an aperture (opening) revealing the chest skin. * **Ribcage**: Individual low-poly rib meshes that can be interacted with (cracked/removed) separately. * **The Heart**: A pulsing 3D model (use vertex shader scaling or morph targets for heartbeat animation). * **Surgical Tools**: Models for Scalpel, Rib Spreader, Bone Cutter, and Tweezers. * **VFX**: * **Blood Particles**: Simple red particle sprites that emit when cutting or making mistakes (essential for the "Gross" tag). * **Dynamic Textures**: Ability to draw red lines on the skin texture to simulate an incision. * **Performance**: Use simple geometry for organs (spheres/capsules deformed). Use baked lighting for the operating room ambience to save GPU resources. ### 2. Audio Requirements * **BGM**: None or a low-hum ambient drone (hospital AC sound) to increase tension. * **SFX (Crucial for feedback)**: * **Heart Monitor**: A rhythmic "Beep... Beep..." that speeds up if the player makes a mistake and flatlines (continuous tone) on failure. * **Surgical Sounds**: Wet "squish" sounds when touching organs. A sharp "snap/crunch" sound when using the bone cutter on ribs. Metallic "clink" when picking up tools. * **UI Sounds**: Clean digital blips for selecting tools. ### 3. Gameplay Loop The game simulates a simplified heart transplant procedure in stages: 1. **Incision**: Player selects the Scalpel and must trace a dotted line on the chest skin. Accuracy is scored. 2. **Bone Breaking**: Player selects the Bone Cutter. They must tap specific weak points on the ribs to crack them. 3. **Exposure**: Player uses the Retractor to widen the ribcage (drag gesture). 4. **The Surgery**: * The heart beat is irregular. The player must extract the old heart (drag out) and place a new donor heart (drag in) within a time limit. * *Risk*: If the player touches the surrounding lungs or hits a rib while moving the heart, the "Blood Level" rises. 5. **Win/Loss**: * **Win**: Successfully placing the new heart and stabilizing the heart rate. * **Loss**: Patient bleeds out (blood bar fills up) or heart stops completely before replacement. ### 4. Mobile Controls & Interaction * **Primary Input**: **Raycaster-based Touch**. The game must detect touch/mouse positions on the 3D models accurately. * **Gestures**: * **Tap**: To break bones or select tools. * **Drag/Swipe**: To guide the scalpel along a path or to move organs (drag and drop mechanics). * **Tool Selection UI**: A bottom-aligned horizontal dock containing large, thumb-friendly icons (64x64px minimum) for switching tools (Scalpel, Cutter, Hand, Tweezer). * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(50)` when a rib snaps or a mistake is made. * **Visual**: The tool model should follow the user's finger/cursor with a slight lerp (lag) to simulate weight. * **Orientation**: Locked to **Portrait Mode** for one-handed playability, emphasizing the vertical nature of the human torso. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Heart Surgery Game

Heart Surgery is a comprehensive medical simulation game that puts you in the role of a heart surgeon. This realistic surgery simulator challenges players to perform complex cardiac procedures using authentic medical tools and techniques. With its detailed graphics and step-by-step surgical process, the game offers both entertainment and educational value for players interested in medical procedures.

Core Features

Realistic Medical Simulation

Experience authentic heart surgery procedures with detailed anatomical representations and proper surgical protocols. The game features realistic medical equipment and follows actual surgical steps used in real cardiac operations.

Educational Value

Learn about human anatomy, specifically the cardiovascular system, while playing. The game introduces players to various surgical instruments and their proper usage in medical procedures.

Step-by-Step Guidance

Follow detailed instructions for each surgical procedure. The game provides clear guidance on how to use different medical tools, from scalpels to sutures, ensuring players understand each step of the operation.

Safe Learning Environment

Practice complex medical procedures without real-world consequences. This virtual environment allows players to learn and experiment with surgical techniques in a controlled setting.

Gameplay Mechanics

Surgical Tools and Equipment

The game features a comprehensive set of medical instruments including: - Surgical scalpels for precise incisions - Forceps for tissue manipulation - Sutures for closing wounds - Heart monitors for patient vitals - Defibrillators for emergency situations

Patient Care Simulation

Monitor patient vital signs throughout the procedure and respond to medical emergencies. The game emphasizes the importance of patient safety and proper medical care during surgical operations.

Operation Guide

The game provides intuitive controls for performing surgical procedures: - Mouse Controls : Use precise mouse movements to handle surgical instruments - Click and Drag : Perform cutting, suturing, and tool manipulation - Follow Instructions : Complete each step as guided by the in-game tutorial - Monitor Vitals : Keep track of patient health indicators throughout the surgery

Why Play Heart Surgery

This medical simulation game offers a unique blend of education and entertainment. Whether you're curious about medical procedures, interested in pursuing healthcare careers, or simply enjoy challenging simulation games, Heart Surgery provides an engaging and informative experience. The game's realistic approach to surgical procedures makes it an excellent educational tool while maintaining the excitement of a challenging video game.

Target Audience

Perfect for players interested in medical science, aspiring healthcare professionals, and anyone fascinated by surgical procedures. The game is suitable for all ages and provides a safe way to explore the medical field without any real-world risks.

Frequently Asked Questions (FAQ)