Mahjong Linker Kyodai Game

Seele01-Flash
By
Mahjong Linker Kyodai Game is a captivating tile-matching puzzle that combines traditional mahjong aesthetics with engaging connect-style gameplay. Match identical tiles by creating clear paths in this free browser-based experience.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Mahjong Linker Kyodai**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a polished, 2.5D or 3D top-down perspective board game. The aesthetic should be classic Asian-inspired but clean and modern. * **Tiles:** Generate 3D Mahjong tile models (rectangular prisms with rounded bevels). The faces should feature standard Mahjong iconography (Bamboo, Circles, Characters, Winds, Dragons, Flowers). The backing of the tiles should be a distinct color (e.g., orange or dark green) to differentiate from the face. * **Background:** A high-quality, seamless texture resembling a red felt table or a traditional embroidered silk pattern. It should be static to save performance but provide strong contrast against the white tiles. * **Selection & Links:** * When a tile is tapped, highlight it with a glowing blue border or a slight lift animation (y-axis). * When two matching tiles are successfully linked, draw a bright, neon-green line connecting them. The line must follow the "linker" logic (maximum 2 turns/90-degree angles). * The connecting line should fade out quickly after the match occurs. * **Performance:** Use instanced mesh rendering for the tiles to ensure smooth 60fps performance on mobile devices, as there may be up to 144 tiles on screen. ### 2. Audio Requirements * **BGM:** A relaxing, Zen-like instrumental track featuring traditional instruments like the Guzheng or Koto, mixed with soft ambient nature sounds (flowing water or wind chimes) to encourage focus. * **SFX:** * **Tap:** A crisp "clack" sound of a hard tile being touched. * **Match Success:** A satisfying, harmonious chime or a high-pitched "ding" combined with a magical sparkle sound. * **Invalid Move:** A dull, low-pitched thud or a soft "buzzer" sound to indicate the path is blocked. * **Game Over/Win:** A short, celebratory Asian-style fanfare. ### 3. Gameplay Loop * **Core Mechanic:** The "Linker" (or Onet/Kyodai) mechanic. Players must match pairs of identical tiles. * **Constraint:** A pair can only be matched if they can be connected by a line that makes **no more than two 90-degree turns**. The path cannot be blocked by other tiles. * **Level Design:** Start with a full grid (e.g., 8x12 or similar ratio appropriate for mobile screens). * **Win Condition:** Clear the entire board of tiles before the time runs out. * **Failure Condition:** Running out of time or having no valid moves left (if no shuffle mechanic is implemented). * **Scoring:** Award points for each match. Bonus points for "combo" matches made in quick succession. ### 4. Mobile Controls & Interaction * **Orientation:** Support both **Portrait** and **Landscape** modes. * *Landscape:* Classic wide grid layout. * *Portrait:* Scale the camera zoom to fit the grid width; the tiles might need to be slightly smaller or the grid rearranged. * **Touch Input:** * Implement **Raycaster** for precise touch detection on the 3D tiles. * Tap once to select the first tile. Tap a second tile to attempt a match. * Tap the background or the same tile again to deselect. * **UI Layout:** * Place a prominent "Time Bar" at the top of the screen (shrinking horizontally). * Include large, thumb-friendly buttons for "Pause" and "Shuffle/Hint" at the bottom corners of the screen (min size 44x44px). * **Feedback:** * **Haptic:** Trigger a light vibration (using `navigator.vibrate`) on a successful match. * **Visual:** When a match is made, the tiles should scale down to zero or emit a small particle explosion before disappearing. 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 Linker Kyodai Game is an addictive tile-matching puzzle that brings the timeless appeal of mahjong to modern browsers. This engaging HTML5 game challenges players to clear the board by connecting matching mahjong tiles through strategic path-finding. With its beautiful traditional tile designs and intuitive gameplay mechanics, it offers both relaxation and mental stimulation.

The game features authentic mahjong tiles including bamboo, circles, characters, and honor tiles, each beautifully rendered with traditional Chinese symbols and designs. Players must think strategically to create connections between matching tiles while navigating around obstacles and blocked paths.

Core Features

Classic Mahjong Aesthetics

Experience the beauty of traditional mahjong with authentic tile designs featuring intricate Chinese characters, bamboo patterns, and circular motifs. The visual presentation maintains the classic red and gold color scheme that mahjong enthusiasts love.

Strategic Tile Matching

Unlike traditional mahjong solitaire, this linker version requires players to connect matching tiles through clear paths. The challenge lies in finding viable routes between tiles while considering the three-turn rule that limits connection complexity.

Cross-Platform Compatibility

Built with HTML5 technology, the game runs smoothly on desktop computers, tablets, and smartphones. No downloads or installations required – simply open your browser and start playing immediately.

Progressive Difficulty

Each level presents unique tile arrangements that increase in complexity. As you advance, you'll encounter more challenging layouts that test your pattern recognition and strategic thinking skills.

Gameplay Mechanics

The objective is simple yet engaging: connect two identical mahjong tiles by drawing a path between them. The path can include up to three turns (two 90-degree angles) and must not cross through other tiles. Successfully matched tiles disappear from the board, gradually clearing the playing field.

Tile Types and Matching

  • Number Tiles : Bamboo (1-9), Circles (1-9), Characters (1-9)
  • Honor Tiles : Winds (East, South, West, North) and Dragons (Red, Green, White)
  • Special Considerations : Some tiles may look similar but represent different values

Operation Guide

Basic Controls

  • Mouse/Touch : Click or tap the first tile, then click the second matching tile
  • Path Visualization : The game highlights possible connection paths when you select a tile
  • Hint System : Use hints when stuck to reveal possible matches
  • Shuffle Option : Rearrange tiles when no matches are available

Winning Strategy Tips

  1. Plan Ahead : Look for tiles that will free up more matching opportunities
  2. Edge Priority : Focus on tiles along the edges first to open up the center
  3. Path Awareness : Always consider how removing tiles affects future connection paths
  4. Time Management : While relaxing, try to maintain steady progress

Why Play This Game

Perfect for Puzzle Lovers : Combines the satisfaction of pattern matching with strategic depth, making it ideal for players who enjoy mental challenges.

Stress Relief : The calm, meditative nature of tile matching provides excellent relaxation after busy days. The traditional mahjong aesthetic creates a zen-like atmosphere.

Brain Training : Regular play improves pattern recognition, spatial awareness, and strategic planning skills. It's an entertaining way to keep your mind sharp.

Accessibility : Being browser-based means you can enjoy it anywhere – at home, during breaks, or while traveling. No special software or powerful hardware required.

Cultural Appreciation : Experience the rich tradition of mahjong in a modern, accessible format that respects the game's historical significance while adding contemporary puzzle elements.

Frequently Asked Questions (FAQ)