Snake Lite - Multiplayer Snake Battle Arena

Seele01-Flash
By
Snake Lite is a competitive multiplayer snake game that combines classic snake mechanics with intense online battles. Compete against players worldwide to become the biggest snake in the arena.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Snake Lite**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: High-saturation, "Cartoon 3D" style. Vibrant colors against a contrasting dark or grid background (like the purple Halloween theme or a standard dark grid). * **Player Character (The Snake)**: * **Head**: Distinct 3D mesh (e.g., Sphere, Low-poly Anime face, or Ghost shape). The camera should follow the head. * **Body**: A trail of segmented spheres or cylinders that follow the head's path. Use a "Snake Trail" algorithm where body segments follow the position history of the head. * **Skins**: Implement a system to easily swap materials/textures for the snake (e.g., striped, glowing, character faces). * **Environment**: A large, finite rectangular arena bounded by a glowing red border. The floor should be a tiled texture (seamless grid) to help convey movement speed. * **Collectibles (Food)**: Small, glowing geometric shapes (spheres, stars, candies) scattered randomly. * *Optimization Strategy*: **Crucial for mobile**. Use `THREE.InstancedMesh` for all food items to handle hundreds of objects with a single draw call. Do not create individual meshes for every piece of food. * **Lighting**: Simple setup to save battery. Use one `HemisphereLight` (sky/ground color) and one `DirectionalLight` (casting shadows on the main snake only). ### 2. Audio Requirements * **BGM**: Upbeat, fast-paced "Casual Arcade" loop. Electronic but cute (similar to .io games). * **SFX**: * **Eating**: High-pitched "Pop" or "Bloop" sound (pitch varies slightly per eat for variety). * **Boost**: A continuous "Whoosh" or electrical hum when the boost button is held. * **Death**: A "Crash" or digital disintegration sound when hitting another snake or wall. * **UI**: Crisp clicks for buttons. ### 3. Gameplay Loop * **Core Mechanic**: The snake moves forward automatically at a constant base speed. The player controls the direction. * **Growth**: Eating food increases the snake's length and the player's score. * **Combat & Elimination**: * If the player's **Head** collides with another snake's **Body**, the player dies. * If the player's **Head** hits the arena wall, the player dies. * When a snake dies, it dissolves into a chain of "Food" items (heavier score value) that others can eat. * **Boost Mechanic**: Holding a boost button consumes the snake's length/score to increase movement speed temporarily. * **AI Bots**: Implement simple AI snakes that wander the map, seek food within a radius, and attempt to turn away if a collision is imminent. ### 4. Mobile Controls & Interaction * **Control Scheme (Touch)**: * **Left/Right Zones or Virtual Joystick**: A floating virtual joystick on the left/center of the screen to control the turning angle (360 degrees). * **Boost Button**: A large, distinct circular button in the bottom-right corner for the speed boost. * **Camera Behavior**: Top-down view (slightly angled, e.g., 60 degrees) that smoothly follows the player's head. As the snake gets larger/longer, the camera should slightly zoom out (FOV increase) to show more of the surroundings. * **Orientation**: Landscape mode locked (preferred for field of view). * **UI Layout**: * **Top-Left**: Live Leaderboard (Top 5 scores). * **Top-Right**: Current Score / Length. * **Minimap**: A small radar in the corner showing dots for enemies and the player. * **Feedback**: Implement `navigator.vibrate()` (haptic feedback) when the player kills an enemy or dies. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Snake Lite

Snake Lite is a thrilling multiplayer snake game that takes the classic arcade experience to the next level. Unlike traditional snake games where you simply collect items, Snake Lite pits you against real players from around the world in an intense battle for dominance. With stunning 3D graphics and smooth gameplay, this free browser game offers both online multiplayer and offline modes to suit every player's preference.

This competitive .io game combines the nostalgic appeal of classic snake games with modern multiplayer mechanics, creating an addictive gaming experience that keeps players coming back for more.

Core Features

Competitive Multiplayer Action

Engage in real-time battles against players worldwide in this snake battle arena. The multiplayer aspect transforms the traditional snake experience into a thrilling competition where strategy and quick reflexes determine victory.

Multiple Game Modes

  • Infinite Mode : Endless gameplay for maximum growth potential
  • Time Attack : Race against the clock to achieve the highest score
  • Survival Mode : Last snake standing wins in this intense battle royale

Stunning Visual Design

Experience beautiful 3D graphics with customizable snake skins and designs. The game features vibrant colors and smooth animations that make every movement feel responsive and engaging.

Cross-Platform Compatibility

Play seamlessly across different devices including web browsers, Android, and iOS platforms. Your progress syncs across devices, allowing you to continue your snake journey anywhere.

Gameplay Mechanics

Growing Your Snake

Consume colorful treats scattered throughout the arena to grow longer and stronger. Each item collected increases your snake's size and score, making you more formidable against opponents.

Strategic Combat

Outmaneuver other snakes by forcing them to crash into your body. When opponents collide with you, they're eliminated, and you can consume their remains to grow even larger.

Power-ups and Boosters

Collect special items that provide temporary advantages such as speed boosts, invincibility, or size multipliers to gain the upper hand in battles.

How to Play

Getting started with Snake Lite is incredibly simple:

  1. Movement : Use your mouse to control your snake's direction by dragging the left mouse button
  2. Objective : Navigate the arena eating food items to grow your snake
  3. Competition : Avoid collision with other snakes while trying to make them crash into you
  4. Victory : Become the largest snake in the arena to claim the top spot on the leaderboard

The intuitive controls make Snake Lite accessible to players of all skill levels, while the competitive multiplayer element provides depth for experienced gamers.

Why Play Snake Lite

Completely Free Gaming

Enjoy the full Snake Lite experience without any cost. No hidden fees, no premium subscriptions – just pure, unlimited snake battling fun.

Instant Access

No downloads required! Simply open your web browser and start playing immediately. The game loads quickly and runs smoothly on any modern device.

Social Competition

Challenge friends or compete against random players from around the globe. The real-time multiplayer action creates unique, unpredictable matches every time you play.

Perfect for Any Schedule

Whether you have 5 minutes or 5 hours, Snake Lite adapts to your available time. Quick matches for busy moments, or extended sessions for serious competition.

Nostalgic Yet Modern

Experience the beloved snake game mechanics you remember, enhanced with contemporary graphics, smooth controls, and exciting multiplayer features that bring the classic into the modern gaming era.

Frequently Asked Questions (FAQ)