Slither.io

Seele01-Flash
By
Slither.io is the ultimate multiplayer snake experience that combines classic snake gameplay with competitive online action. Grow your snake, avoid enemies, and dominate the arena!

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Slither.io Clone**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 2D aesthetics rendered in a 3D engine (orthographic or high-FOV perspective camera looking down). * **Background**: A dark, tiled hexagonal grid pattern (deep grey/black tones) that extends infinitely (or uses a very large bounding box) to simulate a vast arena. The grid lines should be subtle but visible to help gauge speed. * **Player & Enemy Snakes**: * Constructed as a series of connected spheres or circles following a path. * Use distinct colors (neon green, cyan, magenta, etc.) with a "glow" effect (emissive material or post-processing bloom). * The "Head" should have two simple eyes (white spheres with black pupils) that look towards the movement direction. * **Optimization**: Use instanced meshes for snake body segments if possible to handle high object counts on mobile. * **Food Orbs**: Small, glowing, multi-colored particles scattered randomly. * *Static Orbs*: Simple glowing dots. * *Moving Orbs*: Rare, brighter dots that jitter or flee from the player (optional high-value targets). * *Death Drops*: When a snake dies, convert its body segments into a line of high-density glowing orbs. * **Camera**: Top-down view that smoothly follows the player's snake head. As the snake grows larger, the camera should slightly zoom out (increase FOV or move up Y-axis) to show more of the surroundings. ### 2. Audio Requirements * **BGM**: No invasive background music by default, or a very subtle, low-frequency ambient drone to maintain focus. * **Sound Effects (SFX)**: * *Collection*: A soft, high-pitched "pop" or "blip" sound when eating an orb (pitch increases slightly with rapid consumption). * *Boost*: A continuous "humming" or "rushing wind" sound when the boost is active. * *Collision/Death*: A distinctive "crash" or electric "zap" sound when hitting another snake. * *UI*: Simple clicks for the start menu. ### 3. Gameplay Loop * **Core Mechanic**: Player controls a snake that constantly moves forward. The goal is to eat orbs to grow longer and wider. * **Survival Rule**: * If the player's head collides with *another snake's body*, the player dies (Game Over) and turns into food. * If the player's head hits the map boundary, the player dies. * Body collisions with *self* are safe (unlike classic Snake). * **Combat Strategy**: The player must try to cut off other snakes, forcing them to crash into the player's body. * **Boost Mechanic**: Player can sprint (double speed) by holding a specific input. Boosting constantly consumes the snake's length (score decreases while boosting). The snake should leave a trail of particles behind when boosting. * **Bot Logic**: Create simple AI snakes that wander the map, seek food, and avoid collisions. ### 4. Mobile Controls & Interaction * **Primary Control (Steering)**: * **Virtual Joystick** (Follow Finger): The snake's head should rotate towards the user's finger position relative to the screen center. Alternatively, a visible joystick in the bottom-left corner. * *Logic*: The snake automatically moves forward; the player only controls the turning angle. * **Boost Action**: * **Double Tap & Hold**: Double-tap anywhere on the screen and hold to activate the speed boost. * *Alternative*: A dedicated "Boost" button on the bottom-right (large, easy to hit thumb zone, min 64x64px). * **Screen Orientation**: **Landscape mode** is mandatory to maximize the field of view horizontally. * **Feedback**: * **Haptic**: Trigger a short vibration when the snake dies or kills another snake (if supported). * **Visual**: Screen shake effect slightly upon death. * **UI Layout**: * Top-right: Leaderboard (Top 5 scores). * Bottom-left: Current Length/Score. * Center: "Play" button overlay before the game starts. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Slither.io is a revolutionary .io game that transforms the classic snake concept into an exciting multiplayer battleground. With millions of active players worldwide, this free browser-based game offers endless competitive fun where you control a colorful snake in a massive online arena.

Unlike traditional snake games, Slither.io introduces real-time multiplayer competition where every other snake is controlled by a real player from around the globe. Your mission is simple: grow as large as possible while avoiding becoming someone else's meal.

Core Features

Massive Multiplayer Arena

Join thousands of players simultaneously in a single arena. The competitive environment creates unpredictable gameplay where strategies must constantly adapt to survive.

Growth-Based Progression

Start as a tiny snake and grow by consuming colorful orbs scattered throughout the map. The larger you become, the more powerful you are - but also the bigger target you present to other players.

Strategic Gameplay Elements

  • Speed Boost : Sacrifice size for temporary speed bursts to escape danger or catch prey
  • Encirclement Tactics : Trap smaller snakes by surrounding them with your body
  • Special Orbs : Hunt for rare floating orbs and feast on remains of defeated snakes for rapid growth
  • 12 Unique Skins : Customize your snake's appearance with various colorful designs

Cross-Platform Accessibility

Play seamlessly across web browsers, Android devices, and iOS platforms without losing progress or competitive edge.

Game Mechanics

Eat and Grow Strategy

Your primary objective is consuming the glowing orbs that provide sustenance and growth. Each orb increases your snake's length and provides energy for speed boosts. The bigger you become, the better your chances of dominating smaller opponents.

Combat and Survival

Avoid colliding with other snakes' bodies while positioning yourself to force opponents into fatal crashes. When snakes die, they explode into numerous orbs - creating feeding frenzies and opportunities for rapid expansion.

Advanced Tactics

Master the art of cutting off opponents by making sudden directional changes near their heads. Use speed boosts strategically to escape dangerous situations or secure kills on valuable targets.

Operation Guide

Mouse Controls

  • Movement : Guide your cursor to control snake direction
  • Speed Boost : Click and hold to activate boost mode

Keyboard Controls

  • Arrow Keys : Alternative movement method
  • UP Arrow : Activate speed boost
  • LEFT/RIGHT Arrows : Turn left or right

Pro Tips for Beginners

  1. Start Conservatively : Focus on eating orbs rather than fighting until you reach substantial size
  2. Master the Boost : Learn when to sacrifice size for speed - timing is crucial
  3. Hunt the Fallen : Target areas where large snakes have died for massive orb collections
  4. Use Defensive Positioning : Stay near map edges when small to limit attack angles
  5. Practice Encirclement : Once large enough, learn to trap multiple smaller snakes simultaneously

Why Play Slither.io

Immediate Action

No downloads, installations, or registrations required. Jump directly into competitive multiplayer action through any modern web browser.

Endless Replayability

With millions of global players and constantly changing arena dynamics, no two games are ever identical. The competitive ranking system and customization options provide long-term engagement goals.

Universal Appeal

Simple controls make the game accessible to all ages, while deep strategic elements satisfy competitive gamers seeking mastery and domination.

Social Competition

Compete against friends and players worldwide in real-time battles that test reflexes, strategy, and survival instincts in an ever-changing battlefield.

Frequently Asked Questions (FAQ)