Boxing Random - Chaotic Physics Boxing Game

Seele01-Flash
By
Boxing Random is a wildly entertaining 2-player ragdoll physics boxing game where chaos meets competition. With simple one-click controls and completely unpredictable gameplay, every match becomes a hilarious battle to land 5 knockout punches first.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Boxing Random - Voxel Physics Edition". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Voxel Art / Low-poly 3D aesthetic to mimic the pixel-art source material while remaining performant on mobile devices. Use simple BoxGeometries for character limbs and heads. * **Camera**: Use an **OrthographicCamera** positioned at a side view (Z-axis offset) to simulate a 2D plane. The camera should zoom slightly in/out dynamically to keep both players in frame. * **Characters**: Two boxers (Player 1 and Player 2/CPU). Each character consists of a head, torso, and two arms (no legs needed, just a base for physics, or simple voxel legs). * **Randomization**: Every round (after a point is scored), randomize the visual assets: changing colors of trunks, skin tones, or background environments (e.g., standard ring, snowy field, beach). * **Performance**: Use a single shared material for static objects where possible to reduce draw calls. Limit particle effects on collision to ~20 instances. ### 2. Audio Requirements * **BGM**: A fast-paced, looped 8-bit/Chiptune sports track that evokes arcade energy. * **SFX**: * **Jump/Move**: A synthesized "spring" or "woosh" sound when the button is pressed. * **Impact**: A comical "thud" or "crunch" when a glove connects with an opponent or object. * **Win/Score**: An arcade "ding-ding-ding" bell sound. * **Environment**: Subtle wind noise for the "Snow" environment variation. ### 3. Gameplay Loop * **Physics Engine**: Use **Cannon.js** (or a similar lightweight physics library compatible with Three.js) to handle the "Ragdoll" mechanics. * **Ragdoll Logic**: Characters should have loose joints. They should be unstable but upright enough to stand until an action occurs. * **The "One-Button" Mechanic**: * Input triggers a burst of upward force (jump) + a rotational torque on the torso (swinging the arm forward). * This single action controls both movement and attacking simultaneously. * **Constraint**: Lock movement on the Z-axis so characters only move Left/Right and Up/Down (2.5D gameplay). * **Win Condition**: * A round is won if a player's glove collider touches the opponent's head collider. * First player to reach 5 points wins the match. * **Random Modifiers**: Before each round, apply a random modifier: Long arms, icy floor (low friction), low gravity, or spawn random physics obstacles (wooden crates) between players. ### 4. Mobile Controls & Interaction * **Control Scheme**: * **Single Player Mode**: Tap anywhere on the screen to control the Player. * **2-Player Local Mode**: Split the screen vertically. Tapping the Left half controls Player 1; Right half controls Player 2. * **Responsiveness**: The physics impulse must apply *immediately* on `touchstart`. * **Feedback**: * **Haptics**: Trigger `window.navigator.vibrate(50)` when a punch lands. * **Visual Shake**: Apply a brief, intense camera shake effect (screenshake) upon a knockout hit. * **UI/UX**: * Scoreboard displayed clearly at the top center (e.g., "P1: 3 - P2: 2"). * A large, touch-friendly "Restart" button (min-height 50px) appears overlaying the center screen after a match ends. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Boxing Random

Boxing Random is a thrilling physics-based boxing game that turns traditional fighting on its head with unpredictable ragdoll mechanics and ever-changing environments. This free-to-play browser game combines simple controls with chaotic gameplay, creating an experience where no two matches are ever the same.

The game's unique charm lies in its complete unpredictability - from boxing in business suits to fighting on tropical beaches with sharks swimming nearby, every round presents new challenges and hilarious scenarios. With its pixelated art style and physics-driven combat, Boxing Random delivers non-stop entertainment for players of all ages.

Core Features

One-Click Simplicity

Boxing Random revolutionizes fighting games with its ultra-simple control scheme. A single button press triggers jumping, moving, and punching simultaneously, creating wonderfully chaotic results that keep every match exciting and accessible to players of any skill level.

Dynamic Environment Changes

Every round introduces completely new scenarios: - Costume Variations : Fight in business suits, casual wear, or swimwear - Arena Transformations : Battle in gyms, snowy landscapes, or tropical beaches - Obstacle Elements : Navigate around crates, dodge environmental hazards - Special Rounds : Experience "pocket pouch" modes with altered knockout rules

Ragdoll Physics Engine

The game's advanced physics system ensures that every movement is unpredictable and entertaining. Characters flail and move in realistic yet comical ways, making each punch attempt a suspenseful moment filled with potential for both triumph and hilarious failure.

Multiplayer Competition

Perfect for local multiplayer sessions, Boxing Random supports both single-player practice and intense 2-player battles. Challenge friends to see who can master the chaos and claim boxing supremacy.

Gameplay Mechanics

Victory Conditions

The objective is straightforward: be the first player to score 5 knockout victories . Each successful knockout counts as one point toward your total, creating fast-paced matches that typically last just a few minutes.

Combat System

While the controls are simple, the strategy runs deep: - Timing : Perfect your button presses to land devastating punches - Positioning : Use the physics engine to your advantage - Adaptation : Quickly adjust to new environments and rules - Precision : Aim for face shots in regular rounds, anywhere in special modes

Controls Guide

Single Player Mode: - Up Arrow Key : Execute all actions (jump, move, punch)

Two Player Mode: - Player 1 : Up Arrow Key - Player 2 : W Key

The beauty of Boxing Random lies in its control simplicity - anyone can pick up and play within seconds, yet mastering the timing and physics takes practice and skill.

Why Play Boxing Random

Instant Entertainment

Boxing Random provides immediate fun without complex tutorials or steep learning curves. The chaotic nature ensures that even beginners can have successful moments, while experienced players develop strategies for consistent victories.

Perfect Party Game

Ideal for social gaming sessions, the game's unpredictable nature and simple controls make it perfect for tournaments, casual play with friends, or quick entertainment breaks.

Endless Replayability

With constantly changing environments, costumes, and physics interactions, Boxing Random never feels repetitive. Each match presents new challenges and hilarious moments that keep players coming back.

Free Browser Gaming

No downloads, no installations, no costs - simply open your browser and start boxing! The game runs smoothly on both desktop and mobile devices, making it accessible anywhere, anytime.

Family-Friendly Fun

The cartoonish art style and non-violent approach to combat make Boxing Random suitable for players of all ages, providing clean entertainment that everyone can enjoy together.

Frequently Asked Questions (FAQ)