Snake Shooter: Tower Battle

Seele01-Flash
By
Snake Shooter: Tower Battle is an exciting defense game combining archery precision with strategic tower defense. Fight off massive serpents using upgradeable bows and powerful special arrows in this free browser-based adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Snake Shooter: Tower Battle". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Hyper-casual **Low-Poly** aesthetic with vibrant, saturated colors. * **Environment**: * **Ground**: A bright green plane (`#7CFC00`) representing grass. * **Path**: A beige (`#DEB887`) winding dirt path (use `THREE.CatmullRomCurve3` to generate a curved geometry) that snakes from the distance toward the player. * **Decor**: Scatter simple low-poly pine trees (Cone geometries) and gray rocks along the path borders. * **Sky**: A gradient blue sky or a simple skybox with stylized white clouds. * **Characters**: * **Player**: A minimalist green stickman or capsule geometry (`#00FF00`) standing on a circular stone pedestal (`#A9A9A9`) at the end of the path. * **Weapon**: A simple crossbow model attached to the player. * **Enemy (Snake)**: A segmented "train" of meshes. * **Head**: A larger, distinct red block/mesh with eyes. * **Body Segments**: multiple cubes or hexagonal prisms following the Head. * **Color Gradient**: The snake's body color should gradient from Red (Head) to Purple to Blue (Tail). * **Overlay**: Each body segment must display a **floating number** (Sprite/CanvasTexture) indicating its remaining HP. * **Performance**: Use `InstancedMesh` for trees/rocks if possible. Limit shadow casting to the main character and snake for mobile FPS optimization. Use simple geometric primitives (Box, Cylinder, Cone) to represent complex models. ### 2. Audio Requirements * **BGM**: An upbeat, looping "Marimba" or "Synth-pop" style track that implies urgency but remains casual and fun. * **Sound Effects (SFX)**: * **Shooting**: A "Whoosh" or string-pluck sound when an arrow is fired. * **Hit**: A satisfying wooden "Thud" or "Pop" when an arrow hits a snake segment. * **Destroy**: A "Crunch" or particle shatter sound when a segment reaches 0 HP. * **Game Over**: A descending "Wah-wah-wah" tone. * **Upgrade**: A magical chime or "Level Up" sound. ### 3. Gameplay Loop * **Snake Movement**: The snake spawns at the start of the path and moves along the curve toward the player at a constant speed. * **Segment Mechanics**: * The snake consists of 10-20 segments initially. * Each segment has a random HP value (e.g., 5 to 50). * **Destruction**: When a segment's HP hits 0, it disappears. The segments behind it should visually slide forward to fill the gap (linked list behavior). * **Shooting Mechanics**: * Player auto-fires arrows at a set interval (Attack Speed). * Arrows travel in a straight line with a slight gravity arc. * **Upgrades**: Implement a basic state system to handle: * *Double Shot* (2 arrows at once). * *Attack Speed* (Reduce fire interval). * *Damage* (Reduce segment HP faster). * **Win/Loss Condition**: * **Win**: Destroy all snake segments before the head reaches the player. * **Loss**: The Snake Head collides with the Player's pedestal. ### 4. Mobile Controls & Interaction * **Orientation**: Portrait Mode (Vertical). * **Control Scheme**: **One-finger Drag to Aim**. * Touching and dragging anywhere on the screen rotates the player/crossbow left or right. * The character automatically shoots while the player is touching the screen (or auto-shoots constantly, and the player only aims). * **UI Layout**: * **Top Center**: Score / Wave Counter. * **Bottom**: A row of large, touch-friendly Upgrade Buttons (min height 60px) that appear between waves or accumulate coins to buy. * **Feedback**: * **Haptic**: Trigger `navigator.vibrate(50)` on every successful arrow hit. * **Visual**: Spawn small particle explosions (simple colored squares) when a segment is destroyed. Flash the segment white when hit. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Snake Shooter: Tower Battle is a thrilling casual defense game that puts your archery skills to the ultimate test. Face off against enormous serpents in fast-paced battles where precision, strategy, and quick reflexes are your keys to survival. This free-to-play browser game combines the excitement of tower defense with the satisfaction of skillful archery combat.

The game features vibrant 3D graphics showcasing colorful battlefields where massive snakes slither toward your position. Each snake is segmented with numbered sections indicating their durability - your mission is to shoot each segment until its number reaches zero, breaking it apart and weakening the advancing threat.

Core Features

Strategic Archery Combat

Every shot counts in Snake Shooter: Tower Battle. The game rewards tactical thinking as you decide whether to target the front segments to slow the snake's advance or focus on weaker sections to reduce its overall length. This strategic depth keeps every battle engaging and challenging.

Powerful Upgrade System

As you progress and earn points, unlock game-changing abilities: - Double Arrows : Fire two shots simultaneously for increased damage output - Critical Hits : Boost your chance to deal devastating damage - Explosive Arrows : Blast through tough segments with high-impact shots - Attack Speed Boost : Fire faster to handle increasingly difficult enemies - Piercing Arrows : Hit multiple segments with a single well-placed shot

Progressive Difficulty

The challenge intensifies as snakes become faster, stronger, and even gain ranged attack capabilities. Battle gear and level-up systems help you keep pace with the escalating threat, ensuring every encounter feels fresh and challenging.

Stunning Visual Design

Enjoy vibrant 3D graphics featuring lush green landscapes, colorful snake designs, and smooth animation effects. The game's cheerful art style makes intense battles feel approachable and fun for players of all ages.

Gameplay Mechanics

Target and Destroy

Each snake segment displays a number indicating its health. Shoot repeatedly until the number reaches zero to destroy that section. Different segments may have varying durability, requiring you to prioritize your targets wisely.

Strategic Positioning

Choose your shots carefully - targeting front segments slows the snake's advance, while focusing on weaker middle or rear sections can shorten its length and buy precious time for your next strategic move.

Equipment and Upgrades

Use earned points to enhance your archery setup. From basic bow improvements to magical arrow types, the upgrade system offers multiple paths to strengthen your defenses against increasingly powerful serpents.

Game Controls

The intuitive control scheme ensures anyone can jump in and start playing: - Mouse : Aim your bow and click to shoot arrows - Keyboard Arrows : Alternative aiming method for precise targeting - Strategic Clicking : Target specific snake segments for maximum efficiency

The responsive controls make it easy to execute split-second tactical decisions during intense battle moments.

Why Play Snake Shooter: Tower Battle

Completely Free Gaming Experience

Enjoy the full game experience at no cost. No hidden fees, no mandatory purchases - just pure archery defense fun accessible through any modern web browser.

Perfect for Quick Sessions

Designed as a casual game, Snake Shooter offers engaging gameplay that fits perfectly into short gaming sessions. Whether you have 5 minutes or an hour, each battle provides satisfying progression and excitement.

Cross-Platform Accessibility

Play seamlessly across devices - desktop computers, laptops, tablets, and mobile phones all support the game through modern web browsers. No downloads or installations required.

Skill-Based Progression

Unlike purely luck-based games, Snake Shooter rewards genuine skill development. Improve your aiming accuracy, strategic thinking, and reaction time to achieve higher scores and unlock better equipment.

Endless Replayability

With randomly generated snake patterns, multiple upgrade paths, and increasing difficulty levels, every playthrough offers a unique challenge. Master one strategy, then experiment with different approaches to keep the experience fresh.

Whether you're a casual gamer looking for quick entertainment or a strategy enthusiast seeking tactical depth, Snake Shooter: Tower Battle delivers an engaging experience that combines the best elements of defense games with satisfying archery mechanics.

Frequently Asked Questions (FAQ)