Animalines - Animal Matching Puzzle Game

Seele01-Flash
By
Animalines is an adorable animal matching puzzle game where you pair up cute critters to score points. This charming brain teaser features bears, raccoons, chickens and more lovable animals waiting to find their perfect match.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Animalines" (A 3D Isometric Hex-Grid Connect Puzzle). Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Camera & Perspective:** Use an Orthographic Camera positioned in an isometric view (approx 45 degrees) to ensure the puzzle grid is clearly legible without perspective distortion. * **The Grid:** Generate a hexagonal tile grid (honeycomb pattern). Each tile should be a slightly extruded 3D hexagon (cylinder with 6 segments). * *Colors:* Alternating soft pastel colors (e.g., cream and light grey) to distinguish the grid. * **Characters (Endpoints):** Instead of flat icons, use simple Low-poly 3D heads for animals (Bear, Raccoon, Chicken) or distinct colored spheres with animal texture maps if models are unavailable. These sit on specific start/end tiles. * *Bear:* Brown, matches Blue lines. * *Raccoon:* Grey/Black, matches Red lines. * *Chicken:* White/Red, matches Yellow lines. * **The Lines:** When a player drags, generate a 3D tube (`THREE.TubeGeometry`) that connects the centers of the hex tiles. The tube should have a glowing material corresponding to the animal's color. * **Visual Feedback:** When a tile is hovered/touched, it should slightly elevate or light up. ### 2. Audio Requirements * **BGM:** A relaxing, looping "thinking" track featuring marimba, xylophone, or pizzicato strings. It should be cute and low-tempo. * **SFX - Selection:** A soft "pop" or "bubble" sound when the player touches an animal to start drawing. * **SFX - Drawing:** A subtle "stretching" or light musical scale that plays as the line extends across tiles. * **SFX - Connection:** A happy major-chord chime when two matching animals are successfully connected. * **SFX - Error:** A gentle "bonk" sound if the player tries to cross an existing line. ### 3. Gameplay Loop * **Objective:** Connect pairs of identical animals (Bear to Bear, Raccoon to Raccoon) by drawing a continuous path across the hexagonal grid. * **Rules:** 1. Paths cannot intersect or overlap with other paths. 2. Paths cannot pass through obstacles (rocks/trees placed on grid). 3. (Optional) To get a "Perfect" score, the player must fill every single tile on the grid with lines, leaving no empty spaces. * **Win Condition:** All pairs are connected validly. Upon winning, the camera does a slight zoom-in, and the animals do a small jump animation. * **Level System:** Start with a small 3x3 hex grid, progressing to larger, more complex shapes. ### 4. Mobile Controls & Interaction * **Touch Input:** Implement a robust Raycaster system. * `touchstart`: Detect if the user hits a tile containing an animal. Start the current path. * `touchmove`: Continuously raycast to find the tile under the finger. If the tile is adjacent to the last valid tile in the path and is empty, extend the line. * `touchend`: Finalize the move. If not connected to the matching partner, clear the line (or keep it partially drawn until reset). * **Orientation:** Portrait mode is preferred for one-handed mobile play. * **UI Elements:** * A "Restart" button (icon: circular arrow) in the top right, minimum 44x44px hit area. * A Level indicator at the top center. * **Haptic Feedback:** Trigger a light vibration (using `navigator.vibrate(10)`) every time the line successfully snaps to a new hexagonal tile. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Animalines is a delightfully cute puzzle game that combines strategic thinking with adorable animal characters. In this engaging brain teaser, your mission is to pair up various critters including bears, raccoons, chickens, and other lovable animals to achieve the highest score possible. The game's charming visual design and intuitive gameplay make it perfect for puzzle enthusiasts of all ages.

With a rating of 3.4/5, Animalines has captivated players who enjoy relaxing yet challenging puzzle experiences. The game's wholesome content makes it suitable for family gaming sessions, while its strategic depth keeps experienced puzzle solvers engaged.

Core Features

Adorable Animal Characters

Animalines features a diverse cast of cute animal characters, each beautifully designed to bring joy to your puzzle-solving experience. From fluffy bears to clever raccoons and cheerful chickens, every critter has been crafted with attention to detail and charm.

Strategic Matching Gameplay

The core mechanic revolves around intelligent pairing - you must think strategically about which animals to match together to maximize your score. Each successful pair contributes to your overall progress, requiring both pattern recognition and forward planning.

Cross-Platform Compatibility

Built with HTML5 technology, Animalines runs smoothly on both desktop computers and mobile devices. Whether you're playing on your laptop during a break or on your smartphone while commuting, the game adapts perfectly to your screen size.

Family-Friendly Content

With an "All Ages" content rating, Animalines provides clean, wholesome entertainment that parents can confidently share with their children. The game promotes cognitive development through puzzle-solving while maintaining a positive, cheerful atmosphere.

Gameplay Mechanics

The objective is straightforward yet engaging: pair up matching animals to clear them from the board and earn points. As you progress, you'll discover different strategies for creating more efficient matches and achieving higher scores.

The game rewards both quick thinking and careful planning. While you can make moves at your own pace, finding optimal pairing combinations becomes increasingly important as you advance through different levels or aim for higher scores.

Operation Guide

Mouse Controls (Desktop) : - Click on an animal to select it - Click on its matching partner to create a pair - Use mouse movement to navigate the game board

Keyboard Controls : - Arrow keys to navigate between animals - Enter or Spacebar to select/confirm matches - Tab key for alternative navigation options

Touch Controls (Mobile) : - Tap any animal to select it - Tap its matching partner to complete the pair - Swipe gestures for smooth board navigation

The game provides clear visual feedback for your actions, highlighting selected animals and valid matching options to ensure smooth gameplay across all platforms.

Why Play Animalines

Perfect for Relaxation : The cute animal theme and gentle gameplay create a stress-free gaming environment that's perfect for unwinding after a busy day.

Brain Training Benefits : Regular puzzle-solving helps improve pattern recognition, strategic thinking, and cognitive flexibility - all while having fun with adorable animals.

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

Universal Appeal : Whether you're a puzzle game veteran or someone looking for casual entertainment, Animalines offers the right balance of challenge and charm to keep you engaged.

This delightful puzzle game proves that sometimes the simplest concepts create the most enjoyable experiences. Give these adorable critters the love they deserve by helping them find their perfect matches!

Frequently Asked Questions (FAQ)