Onet Connect Classic

Seele01-Flash
By
Onet Connect Classic is an addictive puzzle matching game inspired by mahjong. Connect pairs of identical tiles to clear the board while racing against time across multiple colorful themes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Onet Connect Classic". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: A "2.5D" casual aesthetic. Use a fixed Orthographic Camera to simulate a flat 2D look but utilize 3D depth for tile animations. * **Tile Models**: Create rounded, thin 3D box geometries for tiles. Apply high-contrast, cute vector-style textures to the front face (Themes: Animals, Fruits, Candies). The back and sides should be a neutral cream color. * **Background**: A dark blue, night-sky gradient background with slowly floating star particles (low count) to add depth without distracting from the board. * **Effects**: * **Selection**: When a tile is tapped, it should scale up by 10% and emit a soft glow. * **Match**: When a pair connects, draw a glowing line (using `THREE.Line` or a shader) following the connection path for 0.3s, then dissolve the tiles with a simple particle burst. * **Optimization**: Use a single texture atlas for all icons to reduce draw calls. Limit particle counts for mobile performance. ### 2. Audio Requirements * **BGM**: Light, upbeat, and looping "casual puzzle" music (marimba or soft synth style) that is not repetitive or annoying. * **Sound Effects**: * **Select**: A soft "pop" or "bubble" sound. * **Match**: A satisfying, positive "chime" or "ding". * **Invalid Move**: A subtle "thud" or "buzz". * **Shuffle**: A "whoosh" sound mimicking cards shuffling. * **Win/Level Clear**: A short, celebratory fanfare. ### 3. Gameplay Loop * **Grid System**: Generate a grid (e.g., 6x10 or 8x12) filled with pairs of items. Ensure the total number of tiles is even. * **Matching Logic (The "Onet" Rule)**: 1. Player selects Tile A, then Tile B. 2. If images match, check if a path exists between them. 3. **Path Constraint**: The path must consist of horizontal or vertical lines only, cannot pass through other existing tiles, and must have **no more than 2 turns** (3 line segments maximum). * **Win Condition**: Clear all tiles from the board before the time runs out. * **Lose Condition**: Timer reaches zero. * **Helpers**: * **Shuffle**: Randomly rearranges remaining tiles if no moves are available (auto-trigger or button press). * **Hint**: Highlights a valid pair for 3 seconds. ### 4. Mobile Controls & Interaction * **Touch Input**: Implement `THREE.Raycaster` for precise touch detection. Map `touchstart` events directly to tile selection logic to minimize input lag. * **Screen Orientation**: Optimized for **Landscape** mode to accommodate the wide grid, but responsive enough to scale the grid down for Portrait if necessary. * **UI Layout**: * Place HUD elements (Score, Timer Bar, Pause, Hint Button, Shuffle Button) at the edges of the screen to maximize the play area. * Ensure buttons have a minimum touch target size of 44x44 pixels. * **Feedback**: * **Visual**: Highlight the selected tile immediately. If a match is invalid, shake the selected tiles slightly (using a simple tween) before deselecting. * **Haptic**: Trigger a light vibration (`navigator.vibrate(10)`) on valid tile selection and a slightly longer vibration on a successful match. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Onet Connect Classic is a captivating puzzle matching game that combines the strategic depth of mahjong with fast-paced tile connection gameplay. This free browser-based game challenges players to connect pairs of identical tiles while racing against a ticking clock, creating an engaging experience that tests both speed and strategy.

The game features beautifully designed tile sets including cute animals, delicious candies, and fresh fruits, allowing players to customize their visual experience while enjoying consistent, addictive gameplay mechanics.

Core Features

Multiple Visual Themes

Choose from three distinct tile themes to keep your gaming experience fresh: - Cute Animals : Adorable creatures including pandas, tigers, rabbits, and more - Sweet Candies : Colorful confectionery designs that add sweetness to your puzzle solving - Fresh Fruits : Vibrant fruit illustrations that bring natural appeal to the game

Strategic Gameplay Elements

  • Time Pressure : Race against the clock to add excitement and urgency
  • Hint System : Three free hints to help you spot connectable pairs when stuck
  • Shuffle Feature : Rearrange the board when no moves are available
  • Progressive Difficulty : Levels gradually increase in complexity and challenge
  • Score System : Earn points for successful matches and completing levels

Accessibility Features

  • Cross-Platform Support : Play seamlessly on desktop computers and mobile devices
  • Intuitive Controls : Simple mouse clicks or taps to select and connect tiles
  • Visual Guide : Built-in tutorial accessible through the pause menu
  • Unlimited Gameplay : Continue playing with additional hints after watching brief ads

Game Mechanics

Basic Connection Rules

In Onet Connect Classic, you can connect two identical tiles under specific conditions: - Adjacent Tiles : Connect tiles that are directly next to each other - Clear Path Connections : Match tiles separated by empty spaces with a clear connecting line - Strategic Planning : Clear outer tiles first to create pathways for inner matches

Advanced Strategies

Successful players learn to: - Identify which tiles to clear first for maximum board access - Plan multiple moves ahead to avoid getting stuck - Use hints strategically when facing complex board layouts - Manage time effectively while maintaining accuracy

Operation Guide

Getting Started

  1. Select Theme : Choose your preferred visual style from the main menu
  2. Start Game : Click play to begin with a randomized board layout
  3. Connect Tiles : Click on one tile, then click its matching pair to connect them
  4. Clear Board : Continue matching until all tiles are removed
  5. Progress : Advance to more challenging levels as you improve

Control Instructions

  • Mouse/Touchscreen : Click or tap to select tiles
  • Hint Button : Access helpful suggestions when needed
  • Shuffle Button : Rearrange tiles when stuck
  • Pause Menu : Access game guide and settings

Winning Strategies

  • Start with tiles on the edges and corners for maximum flexibility
  • Look for obvious pairs first to quickly reduce board complexity
  • Save hints for genuinely difficult situations
  • Focus on creating clear pathways rather than random matching

Why Play Onet Connect Classic

Onet Connect Classic offers the perfect blend of relaxation and mental challenge. Unlike complex games that require lengthy tutorials, this puzzle game is instantly accessible while providing depth for serious puzzle enthusiasts. The time pressure element adds excitement without being overwhelming, making it ideal for both quick gaming sessions and extended play.

The game's mahjong-inspired mechanics provide a familiar yet fresh take on tile matching, appealing to both newcomers to puzzle games and veterans of the genre. With its colorful themes, smooth gameplay, and progressive difficulty curve, Onet Connect Classic delivers hours of engaging entertainment completely free in your browser.

Frequently Asked Questions (FAQ)