Forgotten Treasure 2 - Match 3 Puzzle Game

Seele01-Flash
By
Forgotten Treasure 2 is an engaging match 3 puzzle game featuring over 1,000 challenging levels. Combine colorful jewels, overcome obstacles, and test your logic skills in this addictive treasure-hunting adventure.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Forgotten Treasure 2". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Ancient civilization/treasure hunting theme (Egyptian or Aztec ruins). The scene should feature a semi-realistic, mysterious aesthetic with deep blue, stone grey, and gold tones. * **Camera:** Use an **Orthographic Camera** to simulate a 2D board within a 3D space, ensuring the grid looks consistent on all mobile aspect ratios. * **Gem Models:** Procedurally generate low-poly faceted 3D geometries (Icosahedron, Octahedron, Dodecahedron) to represent jewels (Rubies, Emeralds, Sapphires, Topaz, Amethysts). * **Materials:** Use `MeshPhysicalMaterial` or `MeshMatcapMaterial` with a shiny, high-gloss finish. Add a subtle environment map to simulate reflection/refraction without heavy raytracing. * **Board/Grid:** A grid of dark stone tiles. Some tiles should appear "cracked" or "chained" based on level data (obstacles). * **Special Assets:** Include a "Rainbow Gem" (large, multi-faceted sphere with a shader oscillating through colors) representing the ultimate power-up seen in the screenshot. * **Effects:** Use a particle system (PointsMaterial) for "sparkles" when gems are matched. Add a "God Ray" shader effect behind the board for a magical atmosphere. ### 2. Audio Requirements * **BGM:** A loopable, mysterious, and calm orchestral track featuring harp, flute, and light percussion (marimba style) to evoke an "ancient tomb" feeling. * **SFX - Interaction:** A crisp "glass click" sound when selecting a gem. A "whoosh" sound for swapping. * **SFX - Matching:** A satisfying "crunch" or "shatter" sound for clearing gems. * **SFX - Combo/Win:** A rising magical chime or crescendo when a cascade match occurs or a level is completed. ### 3. Gameplay Loop * **Core Mechanic:** Classic Match-3 logic. The player swaps adjacent gems to create horizontal or vertical lines of 3 or more identical gems. * **Gravity & Refill:** When gems match, they disappear (scale down to 0), gems above fall down (using Tweening/GSAP for smooth animation), and new random gems spawn at the top. * **Obstacles:** * *Stone Plates:* Background tiles that break only when a match occurs on top of them. * *Chains:* Gems that cannot be moved until a match includes them. * **Power-ups:** * Match 4: Creates a "Line Breaker" gem (glowing ring effect). * Match 5: Creates the "Rainbow Gem" which destroys all gems of a specific color when swapped. * **Win Condition:** Clear all "Stone Plate" backgrounds within a limited number of moves. ### 4. Mobile Controls & Interaction * **Input Handling:** Implement a custom Raycaster system optimized for touch. * `touchstart`: Detect the first gem selected. highlight it (scale up 1.1x). * `touchmove`: Detect the direction of the swipe (Up, Down, Left, Right). * `touchend`: Execute the swap logic if a valid direction was detected. * **Responsive Layout:** The game board must automatically scale to fit within the width of a portrait phone screen or the height of a landscape tablet. * **Haptics:** Trigger `navigator.vibrate(50)` on a successful match to provide tactile feedback. * **UI Zones:** Place the "Moves Left" and "Score" UI at the very top or bottom of the screen (safe areas), ensuring buttons are at least 44x44px for touch accessibility. Do not rely on mouse hover states. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Forgotten Treasure 2 is a captivating match 3 puzzle game that challenges players to combine jewels and overcome obstacles through strategic thinking. With over 1,000 levels available, this game offers endless entertainment for puzzle enthusiasts of all skill levels. The game features stunning visuals with colorful gems, mystical artifacts, and challenging brain teasers that will keep you engaged for hours.

This free-to-play puzzle adventure combines classic match 3 mechanics with innovative challenges, making it perfect for both casual gamers and puzzle masters seeking a mental workout.

Core Features

Forgotten Treasure 2 stands out with its impressive array of features:

  • 1000+ Challenging Levels : Explore an extensive collection of unique puzzles, each designed to test different aspects of your logical thinking
  • Brain-Training Gameplay : Some levels are specifically designed as "real tests for the brain," offering sophisticated challenges that improve cognitive skills
  • Beautiful Jewel Graphics : Enjoy stunning visuals featuring colorful gems, ancient artifacts, and mystical treasure themes
  • Progressive Difficulty : Levels gradually increase in complexity, ensuring both beginners and experts find appropriate challenges
  • Free to Play : Complete gaming experience without any cost, accessible through your web browser
  • Cross-Platform Support : Play seamlessly on desktop computers, laptops, tablets, and smartphones

Diverse Puzzle Mechanics

The game goes beyond simple jewel matching, incorporating various obstacle types and special challenges that require strategic planning. Each level presents unique layouts and objectives, keeping the gameplay fresh and engaging throughout your treasure-hunting journey.

Logic-Based Challenges

Unlike simple match 3 games, Forgotten Treasure 2 emphasizes logical thinking and strategic planning. Players must analyze each level carefully, considering the best moves to clear obstacles and achieve objectives efficiently.

Game Gameplay

The core gameplay revolves around matching three or more identical jewels to clear them from the board. However, the game adds complexity through various obstacles and special objectives:

  • Match Mechanics : Connect three or more jewels of the same color in rows or columns to clear them
  • Obstacle Clearing : Use strategic matches to break through barriers and clear blocked areas
  • Special Combinations : Create powerful combos by matching four or more jewels for enhanced effects
  • Level Objectives : Each stage has specific goals, from clearing certain jewel types to reaching target scores
  • Limited Moves : Many levels challenge you to complete objectives within a restricted number of moves

Operation Guide

Forgotten Treasure 2 features intuitive controls suitable for all devices:

  • Mouse Control : Click and drag jewels to swap their positions with adjacent gems
  • Touch Control : On mobile devices, tap and drag to move jewels around the board
  • Matching Strategy : Look for potential three-in-a-row combinations before making moves
  • Planning Ahead : Analyze the board layout to identify the most effective matching sequences
  • Obstacle Navigation : Study how different obstacles react to nearby matches

The game's user-friendly interface makes it easy for players of all ages to jump in and start playing immediately, while the depth of strategy keeps experienced players engaged.

Why Play This Game

Forgotten Treasure 2 offers compelling reasons to become your go-to puzzle game:

Mental Stimulation : The game provides excellent brain training through logic-based challenges that improve problem-solving skills and strategic thinking abilities.

Endless Entertainment : With over 1,000 levels and regular updates, you'll never run out of new puzzles to solve. Each level offers a unique challenge that tests different aspects of your puzzle-solving abilities.

Accessibility : Being completely free and browser-based means you can enjoy the game anywhere, anytime, without downloads or installations. Whether you have five minutes or several hours, you can dive into treasure hunting instantly.

Stress Relief : The satisfying mechanics of matching colorful jewels provide a relaxing yet engaging way to unwind while keeping your mind active.

Suitable for Everyone : The progressive difficulty curve makes it perfect for puzzle game newcomers while offering sophisticated challenges that will test even experienced match 3 veterans.

Frequently Asked Questions (FAQ)