Don't Touch The Spikes

Seele01-Flash
By
Don't Touch The Spikes is an addictive arcade skill game where you guide a colorful bird through a maze of deadly spikes. Master precise timing and quick reflexes to survive as long as possible.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Don't Touch The Spikes - 3D Minimalist Bird Jump**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a "2.5D" minimalist aesthetic. The gameplay happens on a 2D plane, but the objects should be simple 3D geometries (Low-poly) to give depth. Use a flat, pastel color palette (soft blue background `#E0F7FA`, pink bird `#FF4081`, dark grey spikes `#424242`). * **Player Character:** A simple, cubed bird (a rounded cube body with a small pyramid beak and simple circular eyes). It should have a subtle "squash and stretch" animation when jumping to emphasize physics. * **The Box (Arena):** The play area is a confined rectangular box. The walls are not static; sharp, triangular spikes can slide in and out from the left, right, top, and bottom walls. * **Particles:** Upon death, the bird should explode into small colored cubes. When the bird touches a wall (successfully), emit a small puff of white dust particles to indicate contact. * **Lighting:** Use soft ambient light paired with a directional light to cast subtle drop shadows behind the bird and spikes, reinforcing the flat-but-3D look. * **Candy/Collectibles:** Occasionally, a floating diamond or candy appears in the center area. It should rotate slowly and have a glowing effect. ### 2. Audio Requirements * **BGM:** A light, rhythmic, pizzicato-style orchestral track or a simple, catchy 8-bit loop that is not distracting. It should feel "bouncy." * **SFX - Jump:** A satisfying, short "flap" or "whoosh" sound every time the screen is tapped. * **SFX - Wall Hit:** A "ping" or wooden "knock" sound when the bird successfully bounces off a clean wall. * **SFX - Death:** A crunching or glass-breaking sound when hitting a spike. * **SFX - Collect:** A high-pitched, rewarding chime when collecting a candy. ### 3. Gameplay Loop * **Core Mechanic:** The bird flies in the center of the screen. Gravity constantly pulls it down. Tapping the screen makes the bird "jump" upwards and propels it horizontally towards the opposite wall. * **The Challenge:** The bird must bounce back and forth between the left and right walls. * **Spike Logic:** * When the bird hits a wall, it gains a point, changes horizontal direction, and spikes randomly appear/retract on the *opposite* wall (the one the bird is now flying towards). * Static spikes also exist on the top and bottom of the screen to prevent flying too high or falling too low. * **Score:** Display the current score in the center of the background (large, semi-transparent font) so it doesn't obstruct gameplay. * **Game Over:** Touching any spike (side, top, or bottom) results in immediate death. Show a "Restart" button overlaid on the screen. ### 4. Mobile Controls & Interaction * **Controls:** **One-tap gameplay.** The entire screen is the touch area. * `touchstart` / `mousedown`: Triggers the bird's jump impulse (upwards + horizontal force). * **Screen Orientation:** **Portrait Mode** is mandatory. The arena should scale to fit the width of mobile screens while maintaining aspect ratio. * **UI/UX:** * The "Start" and "Restart" buttons must be large (at least 60px height) and placed in the lower-middle thumb zone for easy reach. * Prevent default browser scrolling/zooming on touch events (`touch-action: none`). * **Feedback:** * **Haptic:** Trigger a light vibration (`navigator.vibrate(10)`) on every successful wall bounce. Trigger a heavy vibration (`navigator.vibrate(200)`) on death. * **Visual:** Slightly shake the camera (screen shake) when the bird dies. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Don't Touch The Spikes is a challenging arcade skill game that tests your reflexes and precision. In this minimalist yet addictive game, you control a vibrant red bird navigating through a treacherous environment filled with sharp spikes on all sides. The simple concept belies the intense challenge - one wrong move means starting over.

This browser-based game combines elegant visual design with demanding gameplay mechanics, creating an experience that's easy to learn but incredibly difficult to master. The clean geometric art style and smooth animations make every flight feel responsive and engaging.

Core Features

Challenging Spike Navigation

The core gameplay revolves around precise movement control as you guide your bird through increasingly tight spaces. Sharp spikes line the walls, requiring pixel-perfect navigation and split-second decision making.

Simple One-Touch Controls

Despite the challenging gameplay, the controls remain beautifully simple. A single tap or click changes your bird's direction, making the game accessible to players of all skill levels while maintaining depth for experienced gamers.

Progressive Difficulty

As you survive longer, the challenge intensifies. The spaces between spikes become tighter, requiring even more precise timing and control. This creates a natural progression that keeps players engaged and motivated to improve.

Minimalist Visual Design

The game features a clean, modern art style with bold colors and geometric shapes. The red bird stands out against the neutral background, while the dark spikes create clear visual obstacles that are easy to identify.

Gameplay Mechanics

Your objective is straightforward: keep your bird alive by avoiding the deadly spikes that line the walls. The bird moves automatically, and you control its direction by tapping or clicking. Each successful maneuver through the spike-filled corridor adds to your score.

The game employs physics-based movement, meaning your bird has momentum and realistic flight patterns. This adds an extra layer of skill requirement, as you must anticipate the bird's trajectory and plan your moves accordingly.

Scoring System

Points are awarded based on how long you survive and how many obstacles you successfully navigate. The scoring system encourages players to take calculated risks for higher scores while maintaining the core challenge of survival.

Operation Guide

Mouse/Touchscreen Controls: - Click or Tap : Change the bird's flying direction - Hold : Continuous direction change for precise maneuvering - Release : Allow natural flight momentum to carry the bird

Keyboard Controls (if available): - Spacebar : Alternative direction change control - Arrow Keys : Fine directional adjustments

Pro Tips for Success

  • Practice smooth, controlled movements rather than frantic tapping
  • Watch the spike patterns to anticipate safe pathways
  • Use the bird's momentum to glide through tight spaces
  • Stay calm under pressure - panic leads to crashes
  • Focus on consistency rather than speed

Why Play This Game

Don't Touch The Spikes offers the perfect blend of simplicity and challenge that makes it incredibly addictive. The game is ideal for:

  • Quick Gaming Sessions : Perfect for short breaks or commutes
  • Skill Development : Improves hand-eye coordination and reflexes
  • Stress Relief : Simple mechanics provide meditative focus
  • Competitive Play : Challenge friends to beat your high score
  • All Skill Levels : Easy to start, lifetime to master

The game's instant restart feature means you can jump back into the action immediately after each attempt, making it perfect for that "just one more try" gameplay loop that keeps players coming back.

Universal Appeal

Whether you're a casual gamer looking for a quick distraction or a hardcore player seeking to master every nuance of the controls, Don't Touch The Spikes delivers an engaging experience that scales to your skill level.

Frequently Asked Questions (FAQ)