Egypt Mahjong - Triple Dimensions Online

Seele01-Flash
By
Egypt Mahjong Triple Dimensions Online transforms classic mahjong into an exciting 3D puzzle adventure. Match three blocks decorated with ancient Egyptian hieroglyphics across 40 challenging levels set in beautiful desert landscapes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Egypt Mahjong - Triple Dimensions". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Low-poly, stylized "Ancient Egypt" aesthetic. Bright, warm color palette (gold, sandstone, desert orange, deep nile blue). * **Core Assets (Tiles):** * Use `THREE.BoxGeometry` for the mahjong blocks. * **Texture:** A base "sandstone" texture for the cube sides. * **Symbols:** A texture atlas containing Egyptian Hieroglyphs (Ankh, Eye of Horus, Scarab, Birds, etc.) in bold primary colors (Red, Blue, Green) to be applied to the front face of the cubes. * **Performance:** Use `THREE.InstancedMesh` to render the hundreds of blocks efficiently to maintain 60FPS on mobile devices. * **Environment:** * **Background:** A simple gradient skybox (Dusk: Purple to Orange) or a panoramic desert image. * **Ground:** A circular stone platform or a sandy plane where the block structure sits. * **Lighting:** Strong Directional Light (Sun) casting sharp shadows to emphasize the 3D depth of the stacked blocks, plus Ambient Light for fill. * **Effects:** * **Selection:** When a block is tapped, add a golden glowing outline or slightly lift the block (`y + 0.2`) to indicate selection. * **Match:** Particle explosion (golden dust) when 3 blocks are cleared. ### 2. Audio Requirements * **BGM:** A loopable, mystical "Ancient Egypt" theme. Instruments: Harp, Ney flute, light percussion (Darbuka). Mood: Relaxing but engaging for puzzle solving. * **Sound Effects (SFX):** * **Tap/Select:** A crisp "Stone clacking" sound (heavy but short). * **Deselect:** A lower pitched stone sliding sound. * **Match Success:** A magical chime or "magical dust" sound. * **Invalid Move:** A subtle dull thud. * **Level Clear:** A short triumphant fanfare. ### 3. Gameplay Loop * **Level Generation:** Generate a 3D structure of blocks (e.g., a pyramid, a cube, or stepped tower) using a 3D grid coordinate system. * **Selection Logic (The "Triple" Mechanic):** * Unlike classic Mahjong, the player must select **3 matching blocks** to clear them. * **Validation:** A block is only selectable if it has at least **2 adjacent sides open** (free from other blocks). * **State:** Player taps Block A -> Block A highlights. Taps Block B -> Block B highlights. Taps Block C (match) -> All three vanish. If Block C doesn't match, or if the player taps a 4th non-matching block, reset selection or shake the camera slightly. * **Timer:** Implement a countdown timer (e.g., 5 minutes). If time hits 0, Game Over. * **Victory Condition:** Clear all blocks from the scene. * **Score:** Points awarded for matches. Bonus points for speed chains (matching quickly in succession). ### 4. Mobile Controls & Interaction * **Camera Control (Crucial):** * Use `THREE.OrbitControls`. * **Gesture:** One-finger drag to rotate the camera 360 degrees around the tower. * **Zoom:** Two-finger pinch to zoom in/out (with min/max distance clamping). * **Vertical Clamp:** Limit vertical rotation (`maxPolarAngle`) so the user cannot look from underneath the ground. * **Interaction:** * Use `THREE.Raycaster` for touch events. * Hit detection must be precise. Ensure the raycast ignores "transparent" or removed blocks. * **UI (HTML Overlay):** * **Top Bar:** Level indicator, Score, and Countdown Timer (Large font). * **Bottom Controls:** * **Shuffle Button:** Rearranges remaining blocks (with a cooldown or limited uses). * **Hint Button:** Highlights 3 matchable blocks. * **Responsiveness:** UI buttons must have a touch target of at least 44x44px. Use CSS Grid/Flexbox to center the UI for both Portrait and Landscape orientations. * **Feedback:** Implement `navigator.vibrate(50)` (Haptic Feedback) when a block is successfully selected. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Egypt Mahjong Triple Dimensions

Egypt Mahjong Triple Dimensions Online is a revolutionary 3D puzzle game that reimagines the classic mahjong experience. With a solid 4.3/5 rating from players, this free browser game combines the strategic thinking of traditional mahjong with innovative three-dimensional gameplay mechanics. Set against the stunning backdrop of ancient Egyptian architecture and desert landscapes, players embark on a puzzle-solving journey through 40 progressively challenging levels.

Core Features

Revolutionary 3D Gameplay

Unlike traditional flat mahjong tiles, this game features three-dimensional blocks that you can rotate and view from multiple angles. This adds a new layer of strategic complexity as you search for matching sets while considering spatial relationships.

Authentic Egyptian Theme

Every block is beautifully decorated with colorful hieroglyphic symbols representing animals, people, and other ancient Egyptian imagery. The game's visual design captures the grandeur of Egypt's historical architecture, creating an immersive archaeological adventure.

Progressive Challenge System

With 40 unique levels, each featuring distinct patterns and increasing difficulty, the game provides hours of engaging puzzle-solving entertainment. From beginner-friendly layouts to mind-bending expert challenges, there's something for every skill level.

Completely Free Experience

  • No downloads required - play instantly in your browser
  • No hidden fees or premium content
  • Full game access without registration
  • Compatible with desktop and mobile devices

Game Mechanics

Triple Block Matching

The core innovation lies in the "triple dimensions" concept - instead of matching two tiles like traditional mahjong, you must find and select three matching blocks. This creates unique strategic opportunities and challenges that keep the gameplay fresh and engaging.

Spatial Strategy

Blocks must have at least two open adjacent sides to be selectable. This spatial requirement adds depth to the puzzle-solving process, as you'll need to plan your moves carefully to avoid creating deadlock situations.

Dynamic Camera System

Use the intuitive rotation controls to view the block tower from different angles. This 360-degree perspective is crucial for spotting hidden matches and planning your next moves effectively.

Operation Guide

Basic Controls

  • Mouse Click : Select matching blocks (must select exactly 3 identical symbols)
  • Screen Arrows : Rotate the tower to view from different angles
  • Hint Button : Get helpful suggestions when stuck (located in lower right corner)
  • Restart Button : Reset the current level to try a different approach

Winning Strategy Tips

  1. Survey First : Always rotate the tower completely before making your first move
  2. Plan Ahead : Consider how removing blocks will affect accessibility of remaining pieces
  3. Use Hints Wisely : Save hints for particularly challenging situations
  4. Time Management : Keep an eye on the timer while maintaining accuracy

Block Selection Rules

Blocks are selectable only when they have at least two open adjacent sides. This means corner and edge blocks are often easier to access than those buried deep within the structure.

Why Play Egypt Mahjong Triple Dimensions

Brain Training Benefits

This game excellently combines pattern recognition, spatial reasoning, and strategic planning. Regular play can help improve memory, concentration, and problem-solving skills while providing entertaining relaxation.

Perfect for All Skill Levels

Whether you're a mahjong veteran or completely new to tile-matching games, the progressive difficulty curve ensures an appropriate challenge level. Beginners can learn the basics on early levels, while experts will find plenty of brain-teasing complexity in advanced stages.

Accessible Anywhere

As an HTML5 browser game, you can enjoy Egypt Mahjong Triple Dimensions on any device with internet access. Perfect for quick mental breaks, commute entertainment, or extended puzzle-solving sessions.

Compete for High Scores

Track your progress and compete with other players through the integrated high score system. Challenge yourself to improve your completion times and accuracy across all 40 levels.

Frequently Asked Questions (FAQ)