Snake Solver - Puzzle Snake Game

Seele01-Flash
By
Snake Solver is a delightful puzzle game where you help an adorable snake reach its favorite snack - apples! Grow your snake by eating yellow beans to solve increasingly challenging maze puzzles.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Snake Solver**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Use an **Orthographic Camera** view to create a pseudo-2D or isometric puzzle look, mimicking the cartoon vector art of the reference image. Implement a **Toon Shader (Cel Shader)** material for all objects to retain the vibrant, flat, and cute aesthetic. * **The Snake:** Construct the snake using joined segments (rounded cubes or spheres). The head should be distinct with two large white spheres for "googly eyes" and pupils that look in the direction of movement. Color the body bright green with a darker green outline effect (using back-face culling or a shader pass). * **The Grid:** The level should be built on a visible tile grid (e.g., light blue and white checkerboard pattern). * **Items & Interactables:** * **Apple:** A shiny red low-poly apple with a leaf, rotating slowly and bobbing up and down. * **Yellow Beans:** Small glowing yellow spheres that increase the snake's length. * **Mechanisms:** Pressure plates (buttons) that depress when the snake is on top, and sliding gates (bars) that lower when buttons are pressed. * **Mobile Optimization:** Use `InstancedMesh` for repeated geometry (floor tiles, walls) to reduce draw calls. Keep polygon count low (<500 tris per object). ### 2. Audio Requirements * **BGM:** A lighthearted, looping "thinking" track using pizzicato strings, marimba, or woodwinds. It should be relaxing and whimsical, not intense. * **Sound Effects (SFX):** * **Movement:** A soft, wet "squish" or "plop" sound for every grid step. * **Eating:** A satisfying "crunch" or "chomp" when consuming beans or the apple. * **Mechanisms:** A mechanical "click-clack" when pressing buttons or opening gates. * **Win:** A happy magical chime or fanfare when the level is cleared. ### 3. Gameplay Loop * **Core Logic:** This is a **discrete grid-based puzzle**, not a reflex arcade game. The snake moves one tile at a time based on input. Gravity does not apply; the snake sticks to the floor. * **Growth Mechanic:** The snake starts with a fixed length. Eating a **Yellow Bean** instantly adds one segment to the tail, lengthening the snake. * **Puzzle Solving:** * The goal is to reach the **Apple**. * The snake cannot reverse into its own body. * The snake *can* stop and wait (it doesn't move automatically). * **Multi-Snake Logic:** Some levels may contain multiple snakes. The player controls one active snake at a time. The inactive snake acts as a solid object (can be used to hold down buttons). * **Win Condition:** The snake's head occupies the same grid cell as the Apple. * **Fail Condition:** The snake is trapped with no valid moves (though in this puzzle genre, usually nothing happens, the player just has to hit "Undo" or "Reset"). ### 4. Mobile Controls & Interaction * **Gesture Controls:** Implement **Swipe Detection** (Up, Down, Left, Right) on the entire screen area to control the movement direction of the active snake. * **Virtual Buttons:** * **Switch Snake Button:** A large circular button (min 60x60px) in the bottom right corner to toggle control between snakes (if multiple exist). * **Undo/Reset:** A "Back" arrow button in the top left to undo the last move, and a "Retry" button. * **Orientation:** Support both Portrait and Landscape, but optimize the camera zoom to ensure the entire puzzle grid fits within the screen width (safe area). * **Haptic Feedback:** Trigger a short, light vibration (`navigator.vibrate(50)`) every time the snake successfully moves a step, and a stronger vibration when eating the apple. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Snake Solver

Snake Solver is a charming puzzle game that combines classic snake mechanics with brain-teasing maze challenges. In this delightful adventure, you'll guide a cute little snake through cleverly designed levels to help it reach delicious apples that are always just out of reach or locked behind barriers.

The game offers a fresh twist on traditional snake games by focusing on puzzle-solving rather than endless movement. Each level presents a unique challenge that requires strategic thinking and careful planning to complete.

Core Features

Growing Snake Mechanics

The heart of Snake Solver lies in its innovative growth system. Your snake can eat yellow beans scattered throughout each level, causing it to grow longer. This isn't just for show - a longer snake can: - Reach distant areas that were previously inaccessible - Press multiple buttons simultaneously - Navigate complex pathways more effectively - Solve multi-step puzzles that require strategic positioning

Diverse Animal Characters

While you start with an adorable snake, the game offers variety through unlockable animals : - Caterpillars with unique movement patterns - Fish that bring aquatic-themed challenges - Multiple other animal characters to discover - Each animal offers a fresh gameplay experience

Brain-Teasing Puzzle Design

Every level in Snake Solver is carefully crafted to challenge your problem-solving skills: - Progressive difficulty that gradually introduces new mechanics - Multiple solution paths that reward creative thinking - Hint system available when you get stuck - Maze-like environments that test spatial reasoning

Seasonal and Thematic Elements

The game incorporates festive themes including Christmas and Winter elements, making it perfect for holiday gaming sessions.

Gameplay Mechanics

Movement and Control

Snake Solver features intuitive controls that are easy to learn but offer depth: - Navigate your snake through intricate maze layouts - Plan your route to collect beans strategically - Time your movements to press switches and buttons - Use your growing length as a tool to solve puzzles

Puzzle Elements

Each level combines various puzzle components: - Switches and buttons that open new pathways - Barriers and gates that block direct routes - Strategic bean placement that requires planning - Multi-stage solutions that build complexity

Controls and How to Play

Basic Controls

  • W/A/S/D Keys or Arrow Keys : Move your snake in four directions
  • Spacebar : Switch between different snakes (in levels with multiple characters)
  • Mouse : Navigate menus and select options

Winning Strategy

  1. Survey the level before making your first move
  2. Plan your bean collection route to maximize growth
  3. Identify switch locations and plan how to activate them
  4. Use your length strategically to reach distant targets
  5. Don't hesitate to use hints if you get stuck

Progressive Learning

The game introduces new mechanics gradually: - Early levels focus on basic movement and apple collection - Mid-game stages introduce switches and barriers - Advanced puzzles require complex multi-step solutions - Master levels challenge even experienced puzzle solvers

Why Play Snake Solver?

Perfect for All Ages

Snake Solver strikes an excellent balance between being accessible to beginners while offering depth for puzzle veterans . The cute graphics and friendly characters make it appealing to younger players, while the challenging puzzle design keeps adults engaged.

Mental Exercise

This game provides excellent brain training through: - Spatial reasoning development - Strategic planning skills - Problem-solving enhancement - Pattern recognition improvement

Stress-Free Gaming

Unlike fast-paced action games, Snake Solver offers: - No time pressure - think at your own pace - Hint system to prevent frustration - Relaxing gameplay that reduces stress - Satisfying progression with clear goals

Completely Free Experience

  • 100% free to play with no hidden costs
  • No downloads required - plays directly in your browser
  • Cross-platform compatibility for seamless gaming
  • No registration needed - start playing immediately

Whether you're looking for a quick mental break or an extended puzzle-solving session, Snake Solver delivers an engaging experience that grows more rewarding as you progress through its cleverly designed levels.

Frequently Asked Questions (FAQ)