House of Hazards - Multiplayer Skill Game

Seele01-Flash
By
House of Hazards is an addictive multiplayer skill game that combines strategy, timing, and humor. Race to complete household tasks while avoiding deadly traps set by your opponents in this chaotic apartment battle.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**House of Hazards: 3D Chaos Edition**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Use a **Low-Poly 3D** aesthetic with **Cel-Shading (Toon Shading)** using `MeshToonMaterial` to mimic the original game's flat vector art style. The color palette should be vibrant (teal cabinets, pastel brick walls, bright red/blue player shirts). * **Scene Layout (The Kitchen)**: Create a 2.5D side-scrolling environment representing a house cross-section. Key assets include: * **Ground**: Tiled kitchen floor. * **Background**: A brick wall with hanging cabinets and a window. * **Interactables**: A Coffee Machine (Task Goal), a Toaster (Hazard), and a Swinging Light Fixture (Hazard). * **Characters**: Create blocky, articulated humanoid figures (Head, Torso, Arms, Legs) using primitive geometries (BoxGeometry, CylinderGeometry). * **Optimization**: Use a single DirectionalLight with shadows enabled and an AmbientLight. Merge geometries where possible to reduce draw calls for mobile performance. ### 2. Audio Requirements * **BGM**: A quirky, fast-paced "Slapstick Jazz" or "Sneaky Cartoon" loop to build tension. * **Sound Effects (SFX)**: * **Jump**: A cartoonish "Boing" sound. * **Impact**: A comical "Bonk" or wooden hollow thud when a player hits an obstacle or falls. * **Hazard Trigger**: A mechanical "Click-Whir" or a "Pop" (for the toaster). * **Task Complete**: A satisfying "Ding" or "Cash Register" sound. ### 3. Gameplay Loop * **Objective**: The player controls a character who must move from the left side of the screen to specific "Task Zones" (e.g., drink coffee, check mail) within a time limit. * **Hazard Mechanics**: * **The Toaster**: Fires a "Toast Projectile" in an arc every 3 seconds. If it hits the player, the player is knocked back (stunned). * **Falling Lamp**: Drops from the ceiling when the player walks underneath it. * **Swinging Cabinet**: Opens suddenly to hit the player if they are standing too close. * **Win/Loss Condition**: * **Win**: Complete 3 tasks without the "Health/Stamina" bar reaching zero. * **Loss**: Get hit by hazards 3 times (knocked out). * **Physics**: Implement basic AABB collision detection or use a lightweight physics engine (like Cannon.js) for simple gravity and collision response (knockback effects). ### 4. Mobile Controls & Interaction * **Screen Orientation**: Landscape Mode (Horizontal). * **Camera**: Orthographic Camera positioned for a side-view (2.5D perspective), smoothly following the player's X-axis movement. * **Touch Controls**: * **Left Zone**: A virtual On-Screen Joystick or D-Pad for Left/Right movement. * **Right Zone**: * **Jump Button (Green)**: Large circular button (min 64x64px). * **Crouch/Interact Button (Blue)**: Smaller circular button positioned below or beside Jump. * **Feedback**: * **Visual**: Buttons should scale down slightly when pressed. The screen should "shake" slightly (camera jitter) when the player gets hit by a hazard. * **Haptic**: Trigger `navigator.vibrate(200)` when the player collides with a hazard. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

House of Hazards is a hilariously chaotic multiplayer skill game that turns everyday household activities into dangerous competitions. This innovative game combines strategic thinking with precise timing as you race against opponents to complete various tasks inside a shared apartment while simultaneously trying to sabotage their efforts.

The game's unique appeal lies in its perfect balance of offense and defense - you must focus on completing your own objectives while strategically timing traps to stop your opponents. With its colorful cartoon graphics and unpredictable gameplay mechanics, House of Hazards delivers endless entertainment that keeps players coming back for more.

Core Features

Real-Time Multiplayer Competition

Engage in intense real-time battles where every second counts. Watch your opponents' movements closely and react instantly to their strategies while managing your own objectives.

Dynamic Task System

Each round presents different challenges - from simple movement tasks to complex multi-step objectives. The variety ensures that no two games feel the same.

Interactive Trap Mechanics

The apartment is filled with dangerous household items that can be weaponized: - Falling Lamps : Time these perfectly to knock out unsuspecting opponents - Swinging Cabinets : Use momentum and timing to create obstacles - Environmental Hazards : Every room contains unique dangers to master

Wheel of Fortune System

At the end of each round, a spinning wheel determines the rules and objectives for the next challenge, adding an element of surprise and requiring quick adaptation.

Local Multiplayer Support

Perfect for parties and gatherings, the game supports up to 4 players on the same device, making it an ideal social gaming experience.

Game Mechanics

Objective Completion

Your primary goal is to complete assigned tasks faster than your opponents. Tasks range from reaching specific locations to interacting with household objects, each requiring different strategies and skill sets.

Trap Activation System

Success isn't just about speed - it's about timing. Learn to activate environmental hazards at the perfect moment to slow down or eliminate opponents while they're vulnerable.

Obstacle Navigation

Master the art of avoiding both environmental hazards and opponent-triggered traps. Quick reflexes and pattern recognition are essential for survival.

Controls and Gameplay

Player 1 Controls

  • A Key : Move left through the apartment
  • D Key : Move right to navigate rooms
  • W Key : Jump over obstacles and hazards
  • S Key : Crouch to avoid dangers or activate floor-level traps

Player 2 Controls

  • J Key : Move left
  • L Key : Move right
  • K Key : Jump over obstacles
  • I Key : Crouch/activate traps

Advanced Techniques

  • Timing Mastery : Learn the activation patterns of different traps
  • Route Optimization : Find the fastest paths to complete objectives
  • Defensive Play : Balance offense and defense for maximum effectiveness
  • Psychological Warfare : Use feints and misdirection to confuse opponents

Why Play House of Hazards

Endless Replayability

With randomized objectives, dynamic trap placements, and multiple players creating unpredictable scenarios, every game session offers fresh challenges and hilarious moments.

Perfect Social Game

Designed specifically for local multiplayer fun, House of Hazards creates memorable gaming sessions with friends and family. The simple controls make it accessible to players of all skill levels.

Skill Development

While easy to learn, the game offers deep strategic elements that reward practice and skill development. Master players can consistently outmaneuver opponents through superior timing and game sense.

Stress-Free Fun

Despite its competitive nature, the game's cartoonish art style and humorous situations keep the atmosphere light and entertaining, making it perfect for casual gaming sessions.

No Download Required

Play instantly in your browser without any downloads or installations. The game runs smoothly on both desktop and mobile devices, ensuring accessibility across all platforms.

Frequently Asked Questions (FAQ)