Animals Connect 4 - Cute Animal Matching Puzzle Game

Seele01-Flash
By
Animals Connect 4 is a delightful animal-themed matching puzzle game perfect for all ages. Match cute animal tiles including zebras, hippos, foxes, and rabbits across 15 challenging levels set in beautiful natural habitats.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Animals Connect 4 - 3D Edition". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** A vibrant, "Toy Story" aesthetic using Low-poly 3D assets. The overall look should be cute, colorful, and high-saturation to match the "Cute" tag. * **Game Board:** Use a grid of 3D tiles (ChamferBox geometry for rounded edges). Each tile should have a different animal texture applied to its top face (Lion, Fox, Giraffe, Zebra, Hippo, Rabbit) on a colorful background (Green, Blue, Orange, Pink). The sides of the tiles should be a neutral wood or plastic texture. * **Background:** A 3D low-poly environment representing a "Natural Habitat" (e.g., a stylized forest or watering hole) placed behind the game board. It should include simple animated elements like swaying grass or floating clouds to feel alive but not distracting. * **Performance:** Use a shared Geometry for all tiles (InstancedMesh) to optimize for mobile performance. Limit dynamic lights; use baked lighting or a simple hemisphere light setup. * **Camera:** Use an Orthographic Camera to ensure the puzzle grid remains legible and undistorted on various screen sizes. ### 2. Audio Requirements * **BGM:** A relaxing, cheerful, and looping melody featuring marimbas, flute, or ukulele. It should evoke a sunny day in nature. * **Sound Effects:** * **Select:** A soft wooden "clack" or "pop" sound. * **Match:** A satisfying high-pitched chime or "ding" accompanied by a magical sparkle sound. * **Invalid Move:** A dull "thud" or gentle buzzer. * **Win/Level Clear:** A celebratory fanfare. * **Shuffle/Hint:** A "whoosh" sound effect. ### 3. Gameplay Loop * **Core Mechanic:** The classic "Connect-2" (Onet/Mahjong Connect) logic. The player must match two identical tiles. * **Matching Rule:** A match is valid ONLY if a path can be drawn between the two tiles with **no more than two 90-degree turns** (i.e., maximum 3 straight lines). The path cannot pass through other tiles. * **Win Condition:** Clear the entire board of tiles to advance to the next level (Total 15 levels). * **Lose Condition:** The countdown timer (visible in UI) reaches zero before the board is cleared. * **Power-ups:** * **Shuffle:** Randomly rearranges remaining tiles (Limited use). * **Hint:** Highlights a valid pair for 3 seconds (Limited use). * **Pause:** Stops the timer and blurs the screen. ### 4. Mobile Controls & Interaction * **Touch Controls:** Implement a Raycaster for touch detection. * **Tap:** Selects a tile. The selected tile should visually lift up (translate Z-axis) or glow to indicate selection. * **Second Tap:** If it matches the first selection and follows the path rule, trigger the match animation. If not, deselect both. * **Visual Feedback:** When a match occurs, draw a visible line (using `THREE.Line` or a glowing trail renderer) showing the connection path before the tiles disappear. The tiles should shrink (scale down) with a particle explosion effect (stars or hearts) upon removal. * **Screen Adaptation:** * Support both Portrait and Landscape, but optimize the grid layout to reflow based on aspect ratio (e.g., fewer columns, more rows in Portrait). * Prevent default browser zooming/scrolling (`touch-action: none`). * **UI Layout:** * **Top HUD:** Current Level, Score, and a Visual Progress Bar/Timer. * **Bottom Bar:** Large, thumb-friendly buttons (44px minimum hit area) for "Hint", "Shuffle", and "Pause". Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Animals Connect 4

Animals Connect 4 is a charming puzzle game that combines the strategic thinking of mahjong with adorable animal themes. With a 3.9/5 rating, this brain-teasing game offers 15 progressively challenging levels where players match identical animal tiles. Set against stunning natural backdrops including watering holes, rainforests, and other colorful habitats, the game provides a relaxing yet engaging experience for puzzle enthusiasts.

Core Features

Adorable Animal Collection

The game features a diverse cast of cute animals waiting to be matched: - Zebras with their distinctive stripes - Hippos lounging by water holes
- Foxes darting through forest scenes - Rabbits hopping in meadows - Many more delightful creatures

Beautiful Natural Environments

Each level is set in carefully crafted habitats that bring the animal world to life. From lush rainforests to serene watering holes, every background adds to the immersive puzzle-solving experience.

Progressive Difficulty System

With 15 unique levels, the game gradually increases in complexity, making it perfect for both beginners and experienced puzzle players. Each level presents new challenges while maintaining the core matching mechanics.

Strategic Gameplay Elements

  • Limited hints : Use them wisely to reveal possible matches
  • Shuffle option : Reorganize tiles when stuck
  • Timer system : Complete puzzles before time runs out
  • High score tracking : Compete with other players globally

Gameplay Mechanics

Animals Connect 4 follows a unique matching rule system. Unlike traditional mahjong games, tiles can only be connected if there are no more than two 90-degree angles between them. This creates a strategic layer where players must think about tile positioning and available paths.

The game interface includes: - Score display : Track your progress in real-time - Level indicator : See which of the 15 levels you're currently tackling
- Timer : Creates urgency and excitement - Hint system : Reveals possible matches when you're stuck - Shuffle button : Rearranges tiles for new possibilities

How to Play

Basic Controls

  1. Click on matching tiles : Select two identical animal tiles
  2. Check connection path : Ensure no more than two 90-degree turns between tiles
  3. Clear the board : Match all pairs before time expires
  4. Use power-ups strategically : Hints and shuffles are limited per game

Winning Strategy

  • Plan ahead : Look for tiles that might block future matches
  • Work from edges : Clear outer tiles first to open up the board
  • Save power-ups : Use hints and shuffles only when truly stuck
  • Watch the timer : Balance speed with careful planning

Why Play Animals Connect 4

This game perfectly balances relaxation with mental stimulation . The cute animal theme makes it appealing to players of all ages, while the strategic matching mechanics provide genuine brain-training benefits. Whether you're looking for a quick mental break or a longer puzzle session, Animals Connect 4 delivers:

  • Stress-free gaming : No violent content, just pure puzzle fun
  • Cognitive benefits : Improves pattern recognition and strategic thinking
  • Universal appeal : Suitable for children and adults alike
  • Instant accessibility : Play immediately in any web browser
  • Social competition : Compare scores with players worldwide

The game's HTML5 technology ensures smooth performance across all devices, making it the perfect puzzle companion whether you're at home or on the go.

Frequently Asked Questions (FAQ)