Infinite 8 - Endless Drift Racing

Seele01-Flash
By
Infinite 8 is an addictive skill-based racing game where precision drifting meets endless challenge. Navigate your car through figure-8 tracks, avoid borders, and master the art of continuous drifting to achieve high scores.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Infinite 8 - Minimalist Drift Challenge". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a clean, minimalist aesthetic with a high-contrast color palette. The track should be a vibrant, flat color (e.g., Neon Red `#FF004D`) against a deep, dark background (e.g., Charcoal Black `#1A1A1A`). The car should be a simple, stylized low-poly model (dark purple/blue) with visible emissive headlights and taillights. * **Camera:** Use an Orthographic Camera positioned directly top-down (Bird's Eye View). The camera must be static and framed to show the entire "Figure-8" track loop, ensuring the player can see the full circuit at all times on a vertical mobile screen. * **VFX (Drift & Glow):** * **Skid Marks:** Implement permanent or long-lasting semi-transparent grey trails that fade very slowly behind the car’s rear wheels to visualize the drifting path. * **"Nice Race" Mode:** When the combo bar fills, the entire track or the car's rim lighting should pulse with a Neon Blue glow (`#00FFFF`) to signal the multiplier state. * **Performance:** Use simple geometries (BoxGeometry for the car, Extruded shapes for the track). Avoid complex textures; rely on vertex colors and basic Lambert/Phong materials to ensure 60FPS on mobile browsers. ### 2. Audio Requirements * **BGM:** A driving, looped Synthwave or Phonk beat. High energy, heavy bass, around 120-130 BPM, evoking a sense of speed and retro-futurism. * **SFX:** * **Engine:** A continuous, synthesized engine hum that rises in pitch slightly as speed increases. * **Drift:** A "screeching" tire sound that triggers specifically when the car is turning. * **Crash:** A digital "crunch" or glass-breaking sound for hitting the wall. * **Power-up:** A rising "charging" sound when the blue bar is activated. ### 3. Gameplay Loop * **Core Mechanic:** The car moves forward automatically at a constant speed. The track is an infinite "Figure-8" loop. The player's only goal is to steer to avoid hitting the track borders. * **Scoring System:** Points are awarded continuously for distance traveled. A "Drift Multiplier" increases the longer the player steers without crashing. * **Special Mechanic (The Blue Bar):** * As the player successfully drifts, a UI bar fills up. * When full, the "Blue Mode" activates: Score multiplier doubles, visual effects shift to blue, and the player gains a **one-time shield** (hitting a wall consumes the bar instead of ending the game). * **Game Over:** Hitting the track border (without the Blue Mode shield active) results in an instant crash. Show a "Restart" button overlaid on the screen. ### 4. Mobile Controls & Interaction * **Input Scheme:** Simple "One-Tap" or "Press-and-Hold" mechanic designed for one-handed play. * **Steer:** Touching and holding the screen causes the car to steer sharply to the right (or clockwise relative to the track curve). Releasing the screen allows the car to return to a neutral or slight counter-steer trajectory. * *Alternative Logic:* Since it's a figure-8, the input might need to contextually steer "inward" toward the center of the current loop. * **Orientation:** Strictly **Portrait Mode** (Vertical). The Figure-8 track should be aligned vertically to maximize screen real estate. * **UI Layout:** * **Score:** Large, bold font at the top center. * **Combo Bar:** A horizontal progress bar at the bottom of the screen (thumb-friendly zone) that glows when full. * **Haptic Feedback:** Trigger a short, sharp vibration (using `navigator.vibrate`) upon crashing or activating the Blue Mode. **IMPORTANT:** Ensure the code is contained within a single HTML file with embedded CSS and JS logic, ready to run. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Infinite 8 is a thrilling skill-based racing game that challenges your precision driving abilities. The concept is elegantly simple yet incredibly addictive: navigate your car along endless figure-8 tracks without hitting the borders while maintaining continuous drifts to maximize your score.

The game combines the excitement of drift racing with the challenge of endless gameplay, creating a unique experience that tests your reflexes, timing, and spatial awareness. As you progress and maintain longer drift sequences, the scoring system rewards your skill with increasing point multipliers.

Core Features

Skill-Based Gameplay

Infinite 8 is all about precision and control. The game rewards skillful driving over speed, making it accessible to players of all skill levels while offering depth for those seeking to master the perfect drift.

Dynamic Scoring System

The innovative scoring mechanism encourages continuous play and improvement. As you maintain longer drift sequences without hitting borders, your score multiplier increases, represented by a glowing blue bar that indicates your enhanced scoring state.

Forgiving Progression Mechanic

Once you've established a good racing rhythm and the scoring bar glows blue, the game grants you a single collision allowance, letting you hit the sides once without immediately ending your run. This creates strategic depth as players must decide when to take risks.

Minimalist Design

The game features clean, vibrant graphics with a striking red and purple color scheme that ensures clear visibility of track boundaries and your vehicle's position, essential for precision gameplay.

Gameplay Mechanics

The Figure-8 Challenge

The core challenge revolves around navigating continuous figure-8 patterns. These infinity-loop tracks require constant steering adjustments and perfect timing to maintain smooth drifts without touching the borders.

Drift Mastery

Successful drifting is the key to high scores. Players must learn to control their vehicle's momentum, using controlled slides to navigate turns while staying within track boundaries. The longer you maintain drifts, the higher your score climbs.

Progressive Difficulty

While the basic concept remains consistent, maintaining focus and precision becomes increasingly challenging as fatigue sets in and the desire to achieve higher scores pushes players to take greater risks.

Operation Guide

Desktop Controls: - Arrow Keys or WASD : Steer your vehicle left and right - Mouse : Alternative steering control (click and drag)

Mobile Controls: - Touch and Drag : Swipe left or right to steer - Tilt Controls : Use device orientation for steering (if supported)

Gameplay Tips: - Start with gentle steering inputs to understand your car's handling - Focus on smooth, continuous movements rather than sharp corrections - Watch for the blue glow indicator that signals enhanced scoring mode - Use your one collision allowance strategically when in high-scoring runs - Practice maintaining consistent speed through the figure-8 pattern

Why Play Infinite 8

Perfect for Quick Sessions

Infinite 8 is ideal for both quick gaming breaks and extended play sessions. Each run can last anywhere from seconds to minutes, depending on your skill level, making it perfect for any schedule.

Skill Development

The game naturally improves your hand-eye coordination, spatial awareness, and ability to make precise movements under pressure. These skills transfer well to other driving games and real-world activities.

Competitive Challenge

With its score-based system, Infinite 8 encourages players to constantly improve and compete against their personal bests. The simple yet challenging mechanics make it easy to understand but difficult to master.

Stress Relief

The meditative nature of continuous drifting, combined with the focus required for precise control, makes Infinite 8 an excellent stress-relief activity. The rhythmic gameplay can be surprisingly relaxing once you find your groove.

Universal Appeal

While categorized under games for boys and car games, Infinite 8's skill-based mechanics and clean design appeal to players of all demographics who enjoy precision challenges and improvement-based gameplay.

Frequently Asked Questions (FAQ)