Connect Puzzle - Emoji Matching Game

Seele01-Flash
By
Connect Puzzle is an engaging emoji matching game that challenges your logic and observation skills. Match pairs of emojis through increasingly difficult levels in this free-to-play brain trainer.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Emoji Logic Connect**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Camera & View:** Use an **Orthographic Camera** to simulate a 2D clean UI look while utilizing 3D depth. The background should be a soft, warm beige (`#F5E6D3`) similar to the reference screenshot. * **Game Pieces (The Cards):** Create "Emoji Tiles" using `THREE.BoxGeometry` with rounded corners (or a bevel). They should look like physical, slightly thick tiles. * **Textures:** Apply emoji textures (faces, objects, weather symbols) to the front face. Use standard yellow emoji styles. * **Layout:** Arrange tiles in two vertical columns (Left Column and Right Column). * **The Connection Line:** Use `THREE.TubeGeometry` or a dynamic mesh to render the connection line. The line should not be a simple straight vector; it should have a slight Bezier curve to look organic and playful. * **Visual Feedback:** The line starts as a neutral color (grey/blue) while dragging. It turns **Green** upon a correct match and **Red** before snapping back if the match is incorrect. * **Effects:** * **Selection:** When a tile is touched, it should lift slightly (Z-axis movement) and cast a soft shadow. * **Success:** When a pair is successfully connected, emit a small burst of confetti particles around the tiles. ### 2. Audio Requirements * **BGM:** A playful, "pizzicato" style track using light strings or marimba. It should be chill and not repetitive. * **SFX:** * **Pop:** A soft popping sound when the user first touches a tile. * **Stretch:** A subtle "rubber band" sound while dragging the line (optional). * **Success:** A cheerful "Ding" or major chord arpeggio when a correct connection is made. * **Error:** A dull "Thud" or "Buzz" sound if the connection is wrong. * **Win:** A short fanfare when the level is cleared. ### 3. Gameplay Loop * **Logic:** The game requires an associative data structure defining valid pairs (e.g., "Grandma" matches "Grandpa", "Cloud" matches "Rain", "Hammer" matches "Nail"). * **The Cycle:** 1. **Spawn:** Level loads with shuffled tiles on the right side (Left side fixed, Right side randomized). 2. **Interaction:** Player drags a line from a Left Tile to a Right Tile. 3. **Validation:** On release (touchend), the system checks if the Start Tile and End Tile are a valid pair. 4. **Result:** * *Correct:* The line solidifies and stays on screen. The tiles become "locked" and cannot be interacted with again. * *Incorrect:* The line breaks/retracts, and the player must try again. 5. **Win Condition:** All pairs are successfully connected. A "Next Level" button appears. ### 4. Mobile Controls & Interaction * **Control Scheme:** **Drag-and-Drop** is the primary mechanic. * `touchstart`: Raycast to find the starting tile. Highlight it. Begin drawing the line geometry at the finger position. * `touchmove`: Update the end point of the line geometry to follow the finger/cursor in real-time. * `touchend`: Raycast to check if the finger is over a target tile. Trigger validation logic. * **Screen Orientation:** **Portrait Mode** (Vertical) is mandatory. The camera zoom must adapt so both columns fit within the screen width on various mobile aspect ratios. * **Haptic Feedback:** Trigger a short vibration (`navigator.vibrate(20)`) when snapping to a valid target tile. * **Hit Testing:** Ensure the raycaster hit box for the tiles is slightly larger than the visual mesh to make it "forgiving" for fat-finger touches. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Connect Puzzle

Connect Puzzle is a captivating emoji matching game that transforms simple connection mechanics into an addictive brain-training experience. This puzzle game challenges players to identify and connect matching emoji pairs, starting with straightforward one-to-one matches and progressing to more complex pattern recognition challenges.

The game features a clean, colorful interface with charming emoji characters that represent different people, emotions, and objects. Each level presents a new puzzle where players must use logic and observation skills to identify which emojis belong together.

Core Features

Progressive Difficulty System

Connect Puzzle starts with simple matching exercises perfect for beginners, then gradually introduces more challenging scenarios that will test even experienced puzzle enthusiasts. The difficulty progression keeps players engaged without overwhelming them.

Intuitive Click-to-Connect Gameplay

The game uses a simple point-and-click mechanism that makes it accessible to players of all ages. Simply click on matching emoji pairs to create connections and solve each puzzle.

Endless Entertainment

With hundreds of levels available, Connect Puzzle offers virtually unlimited gameplay. Each level brings new emoji combinations and connection patterns to discover.

Cross-Platform Compatibility

Enjoy seamless gameplay across all your devices. Whether you're on a desktop computer, smartphone, or tablet, Connect Puzzle delivers the same engaging experience.

Game Mechanics

The core gameplay revolves around pattern recognition and logical thinking. Players examine a grid of emoji faces and must determine which ones form matching pairs. The game challenges various cognitive skills:

  • Visual Recognition : Identifying similar facial features, expressions, and characteristics
  • Logic Processing : Understanding the relationships between different emoji types
  • Pattern Matching : Recognizing connections that aren't immediately obvious

How to Play

Connect Puzzle features straightforward controls that anyone can master:

Basic Controls: - Mouse Click : Select and connect matching emoji pairs - Touch Tap : On mobile devices, simply tap the icons you want to connect

Gameplay Steps: 1. Examine all the emoji faces displayed on the screen 2. Look for matching pairs or logical connections 3. Click on the first emoji of a pair 4. Click on its matching counterpart to create a connection 5. Continue until all pairs are successfully matched 6. Complete the level to advance to the next challenge

Why Play Connect Puzzle

Connect Puzzle offers the perfect combination of entertainment and mental exercise. It's an ideal game for:

  • Brain Training : Enhance your cognitive abilities through regular play
  • Stress Relief : Enjoy relaxing gameplay that helps you unwind
  • Quick Entertainment : Perfect for short breaks or longer gaming sessions
  • All Ages : Family-friendly content suitable for children and adults
  • Skill Development : Improve pattern recognition and logical thinking

The game's emoji-based theme makes it universally appealing, transcending language barriers and cultural differences. Whether you're looking to challenge yourself or simply have fun, Connect Puzzle delivers an engaging experience that grows with your skills.

Frequently Asked Questions (FAQ)