Drunken Boxing - Physics-Based Fighting Game

Seele01-Flash
By
Drunken Boxing is a hilarious physics-based boxing game where unpredictable ragdoll movements create chaotic and entertaining fights. Challenge friends or AI in wobbly, physics-driven matches.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Drunken Boxing". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Physics Engine**: You **must** use a physics library compatible with Three.js (preferably **Cannon.js** or **Ammo.js**) to simulate active ragdoll physics. This is the core of the visual style. * **Characters**: Create two minimalist 3D humanoid figures constructed from simple geometric shapes (capsules/spheres) to represent an "Active Ragdoll" structure. * **Player 1**: Bright Blue material with glowing white eyes. * **Player 2 (or CPU)**: Bright Orange material with glowing white eyes. * **Equipment**: Both characters must have disproportionately **large boxing gloves** (spheres) to emphasize the physics impacts. * **Environment**: A standard boxing ring with elastic ropes (using simple lines or cylinders) and corner posts. * **Background**: A dark, vignetted background or a simple low-poly crowd silhouette to keep rendering performance high on mobile devices. * **Lighting**: A dramatic spotlight from above focusing on the center of the ring, creating dynamic shadows. * **Visual Effects**: * Screen shake on heavy hits. * Simple particle bursts (sweat/stars) when a punch connects. * A "dizzy" effect (swirling stars above head) when health is critical. ### 2. Audio Requirements * **BGM**: High-energy, funky, or comedic arcade-style music (looping) that matches the clumsy nature of the "drunken" theme. * **Sound Effects (SFX)**: * **Hits**: Comical "bonk," "thud," or "slap" sounds rather than realistic gore sounds. * **Misses**: Cartoonish "whoosh" sounds. * **Movement**: Springy or stumbling sounds when characters lose balance. * **UI**: A classic boxing bell ring for round start/end. Crowd cheering for a knockout. ### 3. Gameplay Loop * **Physics Logic**: The characters should not stand perfectly still. Apply continuous, slightly randomized noise to their balance forces to simulate being "drunk" or tipsy. They should sway and stumble naturally. * **Combat Mechanism**: * Players control the torso/arm momentum to swing punches. * Damage is calculated based on the velocity of the glove upon impact with the opponent's head or torso. * **Health & Energy**: Display a Health Bar and an Energy Bar above each player. * Energy depletes with rapid movement/punching (preventing spamming). * Health depletes on impact. * **Win Condition**: * **Round Win**: Deplete opponent's health to 0 (Knockout) or push them out of the ring. * **Match Win**: The first player to win **5 rounds** wins the match. * **Modes**: * 1 Player vs CPU (CPU should have erratic but aggressive AI). * 2 Player Local (Split controls). ### 4. Mobile Controls & Interaction * **Orientation**: **Landscape Mode** only. * **Touch Controls (Split Screen UI)**: * **Left Side (Player 1)**: * A generic "Virtual Joystick" or D-Pad for movement (Left/Right to sway, Down to defend/crouch, Up to lunge). * Two large circular buttons: "L" (Left Punch) and "R" (Right Punch). * **Right Side (Player 2 - for Local Multiplayer)**: Mirrored layout of Player 1. * *Note*: Ensure buttons are at least 44x44px but preferably larger (60px+) for thumb accessibility. * **Haptic Feedback**: Trigger `window.navigator.vibrate(50)` on successful punches to provide tactile impact. * **Camera**: A fixed side-view camera (Orthographic or Perspective with high FOV) that zooms in slightly when the characters get close and zooms out when they move apart, ensuring both remain on screen. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Drunken Boxing

Drunken Boxing is an incredibly entertaining physics-based fighting game that transforms traditional boxing into a hilarious spectacle of wobbly movements and unpredictable combat. This unique sports action game features ragdoll physics that make every punch, dodge, and movement delightfully clumsy and chaotic.

The game's charm lies in its intentionally unsteady gameplay mechanics, where landing a solid punch becomes surprisingly challenging due to the wobbly, uncoordinated character movements that mimic the effects of being tipsy.

Core Features

Ragdoll Physics Engine

The heart of Drunken Boxing is its sophisticated physics system that creates genuinely unpredictable character movements. Every action feels natural yet hilariously uncontrolled, making each match unique and entertaining.

Multiple Game Modes

  • Single Player Mode : Practice against computer AI to master the wobbly controls
  • 2 Player Mode : Challenge friends locally for head-to-head boxing matches
  • Championship Mode : First to win 5 matches takes the title

Accessible Gameplay

Completely free to play with no downloads required. Simply open your web browser and start boxing immediately. The game works perfectly on desktop computers and supports both single-player practice and local multiplayer sessions.

Energy-Based Combat System

Each fighter has an energy bar that depletes with damage taken. When your energy runs out completely, you get knocked out of the ring and lose the round. Strategic timing and defensive positioning become crucial for victory.

Gameplay Mechanics

Drunken Boxing delivers a unique fighting experience where traditional boxing skills meet unpredictable physics. The intentionally clumsy controls create situations where timing and persistence matter more than precise technique.

Combat Strategy

Success requires immediate action - hesitation often leads to being overwhelmed by your opponent. The physics-based movement system means that sometimes the most unexpected moves can be the most effective.

Match Structure

Each game consists of multiple rounds, with the first player to secure 5 victories winning the overall championship. This format ensures extended gameplay sessions and multiple opportunities for comeback victories.

Controls Guide

Single Player Controls

  • WASD Keys : Movement and basic actions
  • Arrow Keys : Alternative control scheme
  • Left/Right Arrows : Throw punches with each hand
  • Up Arrow : Aggressive forward stance
  • Down Arrow : Defensive retreat stance

2 Player Controls

  • Player 1 (Left Side) : WASD keys for all movements
  • Player 2 (Right Side) : Arrow keys for all actions
  • Both players share the same action mappings for punching and stance changes

Pro Tips

  • Start punching immediately when the round begins
  • Use defensive stance strategically to avoid incoming attacks
  • The physics system rewards persistent action over careful planning
  • Practice against AI to understand the unique movement patterns

Why Play Drunken Boxing

This game perfectly combines competitive fighting with laugh-out-loud entertainment. Whether you're looking for a quick gaming session or an extended tournament with friends, Drunken Boxing delivers:

  • Instant Entertainment : No learning curve required - jump in and start having fun
  • Social Gaming : Perfect for local multiplayer sessions and friendly competitions
  • Stress Relief : The humorous physics and silly movements provide excellent stress relief
  • Replay Value : Every match feels different thanks to the dynamic physics system
  • Zero Cost : Completely free with no hidden fees or premium content

The game appeals to both casual gamers looking for quick entertainment and competitive players who enjoy mastering unique control systems. Its accessibility makes it perfect for gaming sessions with friends who might not be experienced gamers.

Frequently Asked Questions (FAQ)