Yoga Run - Balance & Obstacle Avoider Game

Seele01-Flash
By
Yoga Run combines the serenity of yoga with the excitement of obstacle running. Master balance and flexibility while navigating challenging courses in this unique free online game.

Prompt

MODEL: Seele01-Flash
Based on the game title "Yoga Run", the visual tags (Action, Avoider, Mobile), and the typical mechanics of hypercasual "runner" games, here is the detailed prompt to guide the AI in generating the code. **Design Logic:** * **Visuals:** Since it is a "Yoga" game, the aesthetic should be clean, bright, and slightly "Zen" but energetic (Hypercasual style). * **Core Mechanic:** The "Yoga" aspect in runner games usually involves changing the character's physical pose to fit through a hole in a wall. To ensure the Three.js code is standalone and executable without external 3D assets (GLTF models), I will instruct the AI to use **geometric abstractions** to represent the poses (e.g., Tall Cylinder = Standing Pose, Sphere = Crouching Pose) to match specific wall cutouts. * **Controls:** Mobile-first swipe mechanics are essential. *** Please use Three.js to generate a **mobile-first game** with the theme "**Yoga Run: Pose Matcher**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Bright, hypercasual aesthetic with a pastel color palette (Cyan, Magenta, Soft Yellow). High saturation, clean lines. * **The Player (The Yogi):** Since external models cannot be loaded, use a **dynamic geometric shape** to represent the player. The player changes shape based on the active "Pose": * *Pose A (Tree Pose):* Represented by a tall, thin Green Cylinder. * *Pose B (Child's Pose):* Represented by a low, wide Pink Sphere. * *Pose C (Warrior Pose):* Represented by a Blue Cube. * **The Environment:** A long, endless running platform resembling a Yoga Mat texture (purple/foam). A simple skybox with a gradient blue to white (daytime). * **Obstacles (The Walls):** Large vertical walls that approach the player. Each wall has a specific "Cutout" or "Color" that corresponds to one of the three poses. * **Performance:** Use simple geometries (BoxGeometry, CylinderGeometry) to keep the frame rate high on mobile devices. Use simple Lambert or Phong materials. ### 2. Audio Requirements * **BGM:** (Placeholder comment in code) A rhythmic, upbeat "Tropical House" style track mixed with Zen chimes. * **Sound Effects:** * *Pose Switch:* A soft "Whoosh" or wind sound. * *Success:* A harmonious "Ding" or chime sound when passing through a wall correctly. * *Collision/Fail:* A dull "Thud" or wood-block sound. ### 3. Gameplay Loop * **Auto-Runner:** The character moves forward automatically along the Z-axis at a constant speed. * **The Challenge:** Walls spawn ahead at regular intervals. Each wall requires a specific "Pose" (Shape) to pass through. * *Logic:* If Player Shape == Wall Requirement -> Pass through + Score Points + Speed slightly increases. * *Logic:* If Player Shape != Wall Requirement -> Collision -> Game Over -> Show Restart Button. * **Score:** Display a score counter at the top center. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Lane-independent Action**. The player stays in the center but changes form. * **Tap/Click:** Cycle through the 3 Poses (Cylinder -> Sphere -> Cube -> Cylinder). * *Alternative (Better for UI):* Place 3 distinct buttons at the bottom of the screen labeled "Tree", "Ball", "Box". Tapping a button instantly transforms the player. * **Orientation:** Portrait Mode (Vertical) is preferred for one-handed play. * **UI Layout:** * Score at the top (large font). * Control Buttons at the bottom (large touch targets, min 60x60px). * "Game Over" overlay centered with a "Try Again" button. * **Feedback:** When the player successfully passes a wall, emit a small particle explosion (confetti) matching the wall's color to provide visual satisfaction. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Yoga Run is an innovative action-avoider game that uniquely blends the ancient practice of yoga with modern obstacle course running. With an impressive 4.5/5 rating from players, this game challenges you to maintain perfect balance and flexibility while navigating through increasingly difficult obstacle courses.

Unlike traditional running games, Yoga Run requires players to master various yoga poses and maintain proper balance to successfully overcome obstacles. The game's physics-based mechanics create a realistic and challenging experience that tests both your reflexes and your ability to maintain composure under pressure.

Core Features

Unique Yoga-Based Gameplay

Yoga Run stands out in the crowded field of obstacle games by incorporating authentic yoga elements. Players must execute proper yoga poses and maintain balance while moving through dynamic environments filled with challenging obstacles.

Completely Free to Play

Enjoy the full Yoga Run experience without any cost. This HTML5 game requires no downloads, subscriptions, or hidden fees - simply open your browser and start playing immediately.

Cross-Platform Compatibility

Designed as an HTML5 instant game, Yoga Run works seamlessly across all devices: - Desktop computers (Windows, Mac, Linux) - Mobile phones (iOS and Android) - Tablets and other touch devices - All modern web browsers

Physics-Based Challenge System

The game features realistic physics that make every movement matter. Your character's balance, momentum, and pose execution all affect performance, creating an authentic and engaging gameplay experience.

Progressive Difficulty Levels

Start with basic poses and simple obstacles, then gradually face more complex challenges that require advanced yoga positions and perfect timing.

Gameplay Mechanics

Yoga Run combines several engaging gameplay elements:

Balance Mastery

Maintain equilibrium while your character moves through various terrains. Poor balance leads to falls and obstacles become much harder to navigate.

Pose Execution

Perform different yoga poses at the right moments to overcome specific obstacles. Each pose serves a strategic purpose in navigating the course.

Obstacle Avoidance

Time your movements perfectly to avoid barriers, gaps, and moving obstacles while maintaining proper form.

Momentum Management

Understand how speed and movement affect your character's ability to maintain poses and balance.

Controls and Operation

Yoga Run offers flexible control options suitable for all devices:

Desktop Controls

  • Mouse : Click and drag to guide your character and execute poses
  • Keyboard : Use arrow keys or WASD for movement control
  • Spacebar : Execute special poses or jumps

Mobile Controls

  • Touch : Tap and swipe to control character movement
  • Gesture-based : Perform swipe gestures to execute different yoga poses
  • Tilt : Some devices support tilt controls for balance mechanics

In-Game Tutorial

The game provides comprehensive in-game instructions that guide you through all controls and mechanics. New players can quickly learn the basics while experienced players can discover advanced techniques.

Why Play Yoga Run

Unique Gaming Experience

Yoga Run offers something completely different from typical obstacle games. The integration of yoga principles creates a meditative yet exciting gaming experience that's both relaxing and challenging.

Health and Wellness Theme

Unlike violent or stressful games, Yoga Run promotes mindfulness, balance, and body awareness - making it perfect for players seeking positive gaming experiences.

Perfect for All Ages

With its all-ages content rating, Yoga Run is suitable for family gaming sessions and provides educational value about balance, coordination, and yoga principles.

Instant Accessibility

No downloads, no installations, no waiting. Open your browser, visit the game page, and start playing immediately. Perfect for quick gaming breaks or extended play sessions.

Skill Development

Improve your reaction time, hand-eye coordination, and strategic thinking while learning about balance and body positioning.

Stress-Free Gaming

The yoga theme and balanced gameplay create a more relaxing gaming environment compared to high-stress action games, making it perfect for unwinding.

Perfect Gaming Sessions

Yoga Run adapts to your schedule: - Quick breaks : 5-10 minute sessions for office breaks - Commute entertainment : Perfect for mobile gaming on the go - Extended play : Progressive difficulty keeps longer sessions engaging - Family time : All-ages appropriate for shared gaming experiences

Frequently Asked Questions (FAQ)