10 Bullets - HTML 5

Seele01-Flash
By
10 Bullets is an addictive arcade shooting game where timing is everything. With only 10 bullets, create massive chain reactions and spectacular explosions in this pixel art masterpiece.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**10 Bullets: Chain Reaction**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** 2.5D Retro Pixel Art. Use an **Orthographic Camera** to simulate a flat 2D view while utilizing Three.js depth for parallax layers. * **Player Character:** A static, low-poly turret or cannon positioned at the bottom center of the screen, facing upwards. It should look mechanical and dark grey. * **Enemies:** Various flying ships (represented as simple textured planes or voxel groups) that traverse the screen horizontally from left to right and right to left at varying altitudes and speeds. They should be dark with high-contrast highlights (red/orange) to stand out against the background. * **Background:** A layered parallax background. * *Far Layer:* A solid cream/beige sky color (hex: #F0E68C). * *Mid Layer:* Pixelated white clouds moving slowly. * *Near Layer:* Silhouette of mountains or city ruins at the bottom, slightly transparent or dark grey. * **VFX (Crucial):** * **Explosions:** When an enemy dies, emit a burst of blocky pixel particles. * **Chain Reaction Projectiles:** When an enemy explodes, it **must** spawn 2 secondary projectiles (shrapnel) that fly diagonally upwards/downwards to hit other enemies. * **Floating Text:** When enemies are destroyed in a chain, display combo numbers (e.g., "x2", "x10") that float up and fade out. * **Performance:** Use **Object Pooling** for enemies, bullets, and particles to maintain 60 FPS on mobile devices during massive chain reactions. ### 2. Audio Requirements * **BGM:** A fast-paced, looped 8-bit chiptune track (Arcade style) that encourages action. * **Sound Effects (SFX):** * *Shoot:* A crisp retro "pew" or laser sound. * *Explosion:* A crunchy, bit-crushed explosion noise. **Dynamic Pitch:** The pitch of the explosion sound should increase slightly with every subsequent kill in a combo chain (e.g., kill #1 is low pitch, kill #10 is high pitch) to provide dopamine feedback. * *Empty Clip:* A dull "click" sound if the player tries to shoot with 0 bullets. ### 3. Gameplay Loop * **Core Mechanic:** The player has exactly **10 Bullets** per game session. * **The Goal:** Wait for the perfect moment to fire **one** bullet to start a massive chain reaction. 1. Player fires a projectile upwards. 2. If it hits an enemy: The enemy explodes, scoring points, and splits into **2 sub-projectiles** (shrapnel). 3. These sub-projectiles travel automatically and can hit other enemies, repeating the cycle. * **Scoring:** * 1 hit = 1 point. * Combo hits multiply the score (displayed as pop-up text). * **Win/Loss:** The game ends when all 10 bullets are used and all projectiles have cleared the screen. A "Final Score" board is displayed with a "Retry" button. ### 4. Mobile Controls & Interaction * **Input Scheme:** Full-screen tap detection. * **Tap Anywhere:** Fires 1 bullet from the turret towards the top of the screen. * **Orientation:** Portrait Mode (Vertical) preferred for mobile ease of use, but ensure the camera aspect ratio adapts if rotated to Landscape. * **UI Layout:** * **Ammo Counter:** Large, distinct font in the top-right corner showing "Bullets: X/10". * **Score:** Top-left corner. * **Retry Button:** Large (minimum 60x60px), centered, appearing only after Game Over. * **Feedback:** * **Screen Shake:** Trigger a violent but short camera shake (magnitude based on combo size) whenever an explosion occurs. * **Haptic Feedback:** Trigger `navigator.vibrate(50)` on every explosion to make the destruction feel tactile on mobile devices. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

10 Bullets is a captivating arcade shooting game that combines strategic timing with explosive chain reactions. This pixel art shooter challenges players to make every shot count, as you have only 10 bullets to create maximum destruction. The game's simple yet addictive gameplay has made it a favorite among arcade game enthusiasts worldwide.

Core Features

Strategic Chain Reaction Gameplay

The heart of 10 Bullets lies in its unique chain reaction mechanics. When your bullet hits an enemy, it spreads in multiple directions, potentially triggering massive cascading explosions that fill the screen with spectacular effects.

Pixel Art Excellence

The game features beautiful retro-style pixel graphics that create an immersive atmosphere. The detailed sprite work and smooth animations bring the chaotic battlefield to life, while maintaining the classic arcade aesthetic that players love.

Perfect Timing Challenge

Success in 10 Bullets requires patience and precision. You must wait for the perfect moment when enemies align just right, allowing a single well-placed shot to trigger the most devastating chain reactions possible.

Minimalist Design Philosophy

With its clean interface and straightforward mechanics, the game proves that simple concepts can create deeply engaging gameplay. No complex controls or overwhelming features – just pure, concentrated fun.

Gameplay Mechanics

The 10-Bullet System

You start each level with exactly 10 bullets. This limitation forces strategic thinking – do you take the shot now, or wait for a better opportunity? Every bullet must be carefully considered to achieve maximum impact.

Enemy Formations

Enemies move across the screen in various formations, creating different opportunities for chain reactions. Learning to read these patterns is key to mastering the game and achieving high scores.

Scoring System

Points are awarded based on the number of enemies eliminated and the length of chain reactions created. The most satisfying moments come from single shots that eliminate dozens of enemies through perfectly timed chain reactions.

Controls and Operation

Simple Control Scheme

The game uses incredibly intuitive controls: - Mouse Click : Fire a bullet - Spacebar : Alternative firing method - Timing : The most important "control" – knowing when to shoot

Cross-Platform Compatibility

Whether you're playing on desktop or mobile, the controls adapt seamlessly. The responsive design ensures smooth gameplay across all supported platforms.

Why Play 10 Bullets

Instant Gratification

Each successful chain reaction provides immediate satisfaction with explosive visual feedback. The game delivers quick, intense bursts of entertainment perfect for short gaming sessions.

Skill Development

While easy to learn, 10 Bullets offers deep gameplay that rewards patience, timing, and strategic thinking. Players continuously improve their ability to spot optimal shooting opportunities.

Stress Relief

The satisfying explosions and chain reactions make this an excellent stress-relief game. There's something deeply therapeutic about watching perfectly timed shots create massive destruction.

Replay Value

Each playthrough feels different due to the dynamic enemy movements and the challenge of improving your high score. The "just one more try" factor is incredibly strong.

Free Entertainment

Enjoy premium arcade gaming without any cost. No downloads, no installations, no payment required – just instant access to quality entertainment.

Frequently Asked Questions (FAQ)