Dot Rush - Color Matching Skill Game

Seele01-Flash
By
Dot Rush is an intense color-matching skill game that challenges your reflexes and timing. Control spinning red and blue balls to match incoming projectiles at high speed for maximum points.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Dot Rush**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Minimalist "Flat 3D" aesthetic. Use an **Orthographic Camera** to simulate a 2D vector graphic look while utilizing 3D geometries (Spheres). The background should be a deep, dark charcoal color (e.g., `#1a1a1a`) to make the neon colors pop. * **Player Model**: A central pivot point (invisible or small white dot) with two spheres orbiting it at a fixed radius: one **Neon Red** (`#FF4444`) and one **Neon Blue** (`#4444FF`). They should have a slight "Trail" effect (using a simple particle trail or mesh history) when they spin to convey speed. * **Incoming "Dots"**: Simple, slightly smaller spheres that spawn from the top and bottom edges of the screen, moving towards the center. They are randomly assigned either Red or Blue. * **Lighting**: Soft Ambient lighting combined with a Directional Light to cast subtle shadows, giving the balls depth without ruining the flat aesthetic. * **Optimization**: Use `THREE.SphereGeometry` with low segment counts (e.g., 16 or 32 segments) for performance on mobile devices. Implement object pooling for the incoming dots to avoid garbage collection stutter. ### 2. Audio Requirements * **BGM**: A fast-paced, rhythmic, minimal techno or synth-pop track that loops seamlessly. It should encourage a "flow state." * **Sound Effects (SFX)**: * **Flip/Spin**: A quick, airy "Whoosh" sound every time the player taps. * **Score/Match**: A satisfying, high-pitched "Ping" or "Pop" when colors match. * **Game Over**: A jarring "Buzzer" or "Glass shattering" sound on mismatch. * *Note*: Use a simple AudioContext oscillator or placeholder URLs for the code generation. ### 3. Gameplay Loop * **Core Mechanic**: The player controls the central Red/Blue pair. The pair is stationary in the center of the screen but can rotate around the pivot. * **Spawning**: Enemy dots spawn from the top or bottom of the screen and move vertically toward the center at a constant speed (speed increases slightly as score increases). * **Interaction**: Tapping the screen causes the central pair to rapidly rotate (spin) 180 degrees, swapping the positions of the Red and Blue balls. * **Collision & Scoring**: * If a Red incoming dot hits the Red player ball -> **+1 Score**, particle explosion effect, dot disappears. * If a Blue incoming dot hits the Blue player ball -> **+1 Score**, particle explosion effect, dot disappears. * If colors mismatch (e.g., Red hits Blue) -> **Game Over**. * **Difficulty**: Increase the spawn rate and movement speed of incoming dots every 10 points. ### 4. Mobile Controls & Interaction * **Input**: Full-screen tap detection (`touchstart` for mobile, `click` for desktop). No virtual joysticks; the entire screen is the button. * **Responsiveness**: The rotation must be snappy. Do not use slow interpolation; the flip needs to be fast enough to react to reflex-based gameplay. * **Orientation**: Strictly **Portrait Mode**. The camera zoom should adapt based on `window.innerWidth / window.innerHeight` to ensure the gameplay area is always visible on different aspect ratios. * **UI/UX**: * Display current Score prominently at the top center (large, white font). * "Tap to Start" overlay before the game begins. * "Game Over" modal with a "Restart" button (min size 44x44px for touch targets). * **Haptic Feedback**: Trigger `navigator.vibrate(10)` on a successful match and `navigator.vibrate(200)` on Game Over (if supported). Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Dot Rush is a fast-paced skill game that puts your reflexes to the ultimate test. In this exciting color-matching challenge, you control a pair of spinning red and blue balls positioned on a circular track. Your mission is simple yet demanding: match the colors of incoming projectiles by spinning your balls at precisely the right moment.

The game features a sleek, minimalist design with bold red and blue colors against a dark background, creating a visually striking experience that helps you focus on the intense gameplay. With its simple concept but challenging execution, Dot Rush offers the perfect blend of accessibility and difficulty that keeps players coming back for more.

Core Features

Lightning-Fast Gameplay

Dot Rush delivers non-stop action as balls shoot toward your spinning controller at full speed. Every split second counts as you decide when to flip your position to achieve perfect color matches.

Precision Timing Mechanics

Success in Dot Rush depends entirely on your ability to time your moves perfectly. The game rewards precise timing while punishing hasty decisions, creating a satisfying skill-based experience.

Scoring System

  • Positive Points : Earn points when same colors touch (red-to-red, blue-to-blue)
  • Point Deduction : Lose points when opposite colors collide (red-to-blue contact)
  • High Score Challenge : Compete against your personal best and strive for improvement

Clean Visual Design

The game's minimalist aesthetic eliminates distractions, allowing you to focus entirely on the color-matching action. The clear contrast between red, blue, and white elements ensures optimal visibility during intense gameplay moments.

Game Mechanics

Dot Rush operates on a simple but engaging mechanic: color matching through precise timing . You control a spinning mechanism with red and blue balls positioned opposite each other. As projectiles approach from various angles, you must rotate your controller to ensure the correct color alignment.

The challenge intensifies as the game progresses, with faster projectile speeds and more frequent color changes testing your ability to maintain focus and react quickly.

Operation Guide

Basic Controls

  • Click or Tap : Flip the position of your red and blue balls
  • Timing : Click at the exact moment when incoming balls will match your colors
  • Strategy : Observe the approaching projectile colors and plan your moves in advance

Gameplay Tips

  1. Focus on Pattern Recognition : Watch for sequences of same-colored projectiles
  2. Maintain Rhythm : Find your timing rhythm and stick to it
  3. Stay Alert : The game speed increases, requiring constant attention
  4. Practice Patience : Wait for the perfect moment rather than clicking randomly

Scoring Strategy

Maximize your score by achieving consecutive color matches. Each successful match builds momentum, while mistakes can quickly reduce your progress. The key is maintaining consistency rather than attempting risky moves.

Why Play Dot Rush

Perfect for Quick Sessions

Dot Rush is ideal for short gaming breaks. Each session can last from a few seconds to several minutes, making it perfect for when you need a quick mental challenge.

Improves Reaction Time

Regular play can help enhance your reflexes and hand-eye coordination. The fast-paced nature of the game provides excellent training for quick decision-making.

Competitive Element

The high-score system encourages repeated play as you strive to beat your personal best. Share your scores with friends to add a social competitive element.

Stress Relief

Despite its challenging nature, Dot Rush can be surprisingly relaxing. The focused concentration required can help clear your mind and provide a brief escape from daily stress.

Accessibility

With simple one-click controls, Dot Rush is accessible to players of all ages and skill levels. The learning curve is gentle, but mastery takes dedication and practice.

Frequently Asked Questions (FAQ)