Mahjong Big - Free Online Mahjong Solitaire Game

Seele01-Flash
By
Mahjong Big is a free online mahjong solitaire game that challenges players to match identical tiles. Earn 3-star ratings, complete daily challenges, and unlock new stages in this relaxing puzzle experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Mahjong Big". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a clean, vibrant, and casual aesthetic. The background should be a soothing, radial gradient of cyan to deep sky blue (`#00BFFF` to `#0099CC`), mimicking the screenshot's cheerful vibe. * **Tile Models:** Use optimized `THREE.BoxGeometry` for the Mahjong tiles. The tiles should have a bone-white top face and a slightly yellow/orange tint for the sides and bottom to simulate depth. * **Textures:** Use a single **Texture Atlas** (Sprite Sheet) containing all traditional Mahjong faces (Bamboo, Dots, Characters, Winds, Dragons, Flowers, Seasons) to minimize draw calls for mobile performance. The symbols should use clean, high-contrast vector-style art. * **Lighting:** Implement a soft setup using `THREE.AmbientLight` (intensity 0.6) and a `THREE.DirectionalLight` (intensity 0.8) casting soft shadows to the bottom-right to give the tile stacks a 3D feeling without being performance-heavy. * **Camera:** Use a `THREE.OrthographicCamera` to maintain the classic puzzle look while preventing perspective distortion on the edges of the screen. * **Particles:** Include a lightweight particle system (using `THREE.Points` or instanced meshes) that triggers a burst of gold sparkles or diamonds when tiles are successfully paired. ### 2. Audio Requirements * **BGM (Background Music):** A relaxing, Zen-inspired instrumental track featuring a soft harp, guzheng, or piano. The tempo should be slow (60-80 BPM) to reduce player stress. * **SFX (Sound Effects):** * **Selection:** A subtle, crisp "wooden click" or "ceramic tap" when a tile is touched. * **Match:** A satisfying, slightly higher-pitched "clack" followed by a magical chime. * **Error:** A dull, muted thud if a player taps a blocked tile. * **Win:** A cheerful orchestral flourish. * **UI:** Soft pops for button presses. ### 3. Gameplay Loop * **Core Mechanic:** Implement standard "Shanghai Solitaire" rules. Players tap to select open tiles (tiles with no tile directly above and free on at least one lateral side). Selecting two matching tiles removes them from the board. * **Data Structure:** Use a 3D array or a layered grid system to manage the tile layout (Turtle, Pyramid, etc.). The game must calculate "blocked" status in real-time. * **Scoring & Stars:** * Base points for every pair. * **Combo System:** If a match is made within 3 seconds of the previous one, apply a score multiplier (x2, x3, etc.) and display a floating text popup. * 3-Star rating based on completion time. * **Win/Loss:** * **Win:** All tiles are cleared. * **Loss/Stuck:** If no moves are possible, automatically trigger a "Shuffle" mechanic or offer the player a shuffle button (do not instantly fail the player, keep it relaxing). * **Collectible:** Randomly place "Diamond" icons on top of specific tiles. Matching these tiles adds to a persistent currency counter. ### 4. Mobile Controls & Interaction * **Touch Input:** Use `THREE.Raycaster` mapped to touch events (`touchstart`). * **Selection Feedback:** * **Visual:** When a valid tile is tapped, it should tween upwards (y-axis +0.5 units) and highlight with a glow shader or an emissive material color change. * **Haptic:** Trigger `navigator.vibrate(10)` for a light tactile bump on selection. * **Orientation:** Support both Portrait and Landscape, but prioritize **Landscape** for the classic wide board layout. Ensure the camera zoom automatically adjusts (`camera.zoom`) based on `window.innerWidth` to keep the entire board visible. * **UI Overlay:** * Create a clean HTML/CSS overlay on top of the canvas. * **Buttons:** Large, thumb-friendly buttons (min 48x48px) for "Pause," "Hint" (lightbulb icon), and "Shuffle" (arrows icon). * **HUD:** Display Score, Combo Timer, and Remaining Tile Pairs clearly at the top. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Mahjong Big is a captivating online mahjong solitaire game that brings the classic tile-matching experience directly to your browser. This free puzzle game combines traditional mahjong gameplay with modern features, offering hours of relaxing entertainment for players of all skill levels. The colorful, user-friendly interface makes it perfect for both mahjong veterans and newcomers to the genre.

Core Features

Mahjong Big delivers an exceptional gaming experience with several standout features:

  • Completely Free : No downloads, registrations, or payments required - play instantly in your browser
  • Cross-Platform Compatibility : Works seamlessly on desktop computers, tablets, and mobile phones
  • Star Rating System : Strive for perfect 3-star ratings on each level to demonstrate your mastery
  • Daily Challenge Mode : Fresh puzzles every day to keep the gameplay engaging and challenging
  • Diamond Collection System : Gather diamonds during gameplay to unlock exciting new stages
  • Progressive Difficulty : Levels gradually increase in complexity, providing sustained challenge
  • Relaxing Gameplay : Designed to reduce stress while exercising your mind

Traditional Mahjong Solitaire Rules

The game follows classic mahjong solitaire mechanics where players must identify and match pairs of identical tiles. Only tiles that are free (not blocked by other tiles) can be selected and removed from the board. Strategic thinking is essential as each move affects future possibilities.

Unlock System

The diamond collection feature adds depth to the traditional mahjong experience. As you successfully match tiles and complete levels, you earn diamonds that serve as currency for unlocking new, more challenging stages. This progression system keeps players motivated and engaged.

Gameplay Mechanics

Mahjong Big offers intuitive gameplay that's easy to learn but challenging to master:

  • Tile Matching : Find and select pairs of identical mahjong tiles to remove them from the board
  • Strategic Planning : Analyze the tile layout to determine the optimal sequence of moves
  • Level Completion : Clear all tiles from the board to complete each stage
  • Time Management : Work efficiently to achieve higher star ratings
  • Pattern Recognition : Develop skills in quickly identifying matching tile pairs

Operation Guide

The game features simple, accessible controls suitable for all devices:

  • Mouse Control : Use the left mouse button to select and match mahjong tiles on desktop
  • Touch Controls : Tap tiles directly on mobile devices and tablets
  • Tile Selection : Click or tap on free tiles (those not covered by other tiles)
  • Matching Process : Select two identical tiles to remove them from the board
  • Menu Navigation : Access settings, hints, and level selection through intuitive interface buttons

Tips for Success

  1. Start with Edge Tiles : Focus on tiles along the edges and corners first
  2. Plan Ahead : Consider how removing certain tiles will affect access to others
  3. Use Hints Wisely : Take advantage of hint systems when stuck
  4. Practice Pattern Recognition : The more you play, the faster you'll spot matching pairs

Why Play Mahjong Big

Mahjong Big stands out as an exceptional choice for puzzle game enthusiasts:

Mental Exercise : Mahjong solitaire is proven to improve concentration, pattern recognition, and strategic thinking skills. Regular play can help maintain cognitive sharpness and memory function.

Stress Relief : The game's relaxing nature makes it perfect for unwinding after a busy day. The meditative quality of tile matching helps reduce anxiety and promotes mental clarity.

Accessibility : Being completely free and browser-based means you can enjoy Mahjong Big anywhere, anytime, without installation or subscription fees.

Progressive Challenge : The star rating system and unlockable levels provide clear goals and sustained motivation, ensuring the game remains engaging over time.

Cultural Connection : Experience a piece of traditional Chinese gaming culture adapted for modern digital platforms, connecting you to centuries of strategic tile-based entertainment.

Frequently Asked Questions (FAQ)