Candy Riddles - Free Match 3 Puzzle Game

Seele01-Flash
By
Candy Riddles is an addictive match-3 puzzle game featuring colorful sweets and challenging gameplay. With over 2,200 levels of sugary fun, it's perfect for puzzle lovers of all ages.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Candy Riddles". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: 3D Low-poly with a "Glossy Toon" aesthetic. The candies should look like delicious, shiny hard candies or jellies using MeshPhongMaterial with high shininess. * **Candy Models (Primitives)**: * **Donut**: Blue Torus geometry with small spheres as sprinkles. * **Jelly**: Purple Cone (rounded top) or deformed Sphere. * **Star**: Red Extruded shape or simply a Pentagonal Prism. * **Flower/Bud**: Yellow layered Cone or Sphere with distinct segments. * **Special Item (Rocket)**: A multi-colored cylinder with a cone top, used for row clearing. * **Background**: A 2D static or parallax background depicting a "Magical Castle" wall (resembling the dungeon bricks in the reference) or a soft pastel gradient to ensure good contrast with the colorful board. * **Mascot**: A simple yellow sphere with a purple cone hat (Wizard style) placed to the side of the grid, idling with a gentle bobbing animation (using `Math.sin`). * **Mobile Optimization**: Use `InstancedMesh` for the grid tiles if possible to reduce draw calls. Limit lights to one AmbientLight and one DirectionalLight (simulating sun/magic glow). Avoid heavy post-processing; use simple particle sprites for match explosions. ### 2. Audio Requirements * **BGM**: A lighthearted, whimsical, and looping track. It should feature pizzicato strings, bells, and a soft beat, similar to a "magical tea party" vibe. * **Sound Effects (SFX)**: * **Select**: A soft "click" or "bubble" sound. * **Swap**: A "swoosh" air sound. * **Match**: High-pitched "crunch" or "pop" sounds. * **Combo/Cascade**: An ascending chime scale (C-E-G-C) to reward multiple matches. * **Rocket Power-up**: A pyrotechnic "fizz-bang" sound. ### 3. Gameplay Loop * **Grid System**: Create an 8x8 grid filled with random candy types (ensure no initial matches exist). * **Core Mechanic**: 1. **Swap**: Player swaps two adjacent candies. 2. **Match Check**: If 3 or more match horizontally or vertically, they are removed. 3. **Revert**: If no match is made after a swap, the candies animate back to their original positions. * **Gravity & Spawning**: When candies are removed, existing candies above them must fall down (with a bounce easing function), and new random candies spawn at the top to fill the gaps. Check for matches again after falling (Cascade effect). * **Power-ups**: * **Match 4**: Spawns a "Rocket" (Striped Candy) that clears an entire row or column when matched. * **Match 5**: Spawns a "Rainbow Cake" that clears all candies of a specific color on the board. * **Scoring**: +100 points per candy. Multipliers for combos. ### 4. Mobile Controls & Interaction * **Touch Input**: Implement `Raycaster` for touch detection. * **Gesture**: Detect "Swipe" (TouchStart -> TouchMove) to determine swap direction (Up, Down, Left, Right). * **Fallback**: Support "Tap-to-Select" then "Tap-Adjacent-to-Swap" logic for precision. * **Responsiveness**: The camera must be Orthographic. The board should scale to fit the width of the screen (Portrait mode preferred for mobile, but ensure the grid is centered). * **Visual Feedback**: * When a candy is selected, it should pulse or glow. * When matched, emit a small explosion of particle sprites (confetti/stars). * **Haptics**: Trigger `navigator.vibrate(50)` on a successful match and `navigator.vibrate([50, 50, 50])` for combos or power-ups. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Candy Riddles

Candy Riddles is a delightful match-3 puzzle game that combines strategic thinking with sweet, colorful visuals. This free-to-play game features mouth-watering candies, cookies, donuts, and ice creams that you'll match to progress through increasingly challenging levels. With its engaging gameplay mechanics and charming design, Candy Riddles offers hours of entertaining puzzle-solving action.

The game stands out in the crowded match-3 genre with its unique level designs and special candy combinations. Each successful match of three or more treats clears the board and creates opportunities for even more satisfying combinations, keeping players engaged and coming back for more.

Core Features

Extensive Level Progression

With over 2,200 levels available, Candy Riddles provides virtually endless entertainment. Each level presents unique challenges and layouts that require different strategies to complete, ensuring the gameplay never becomes repetitive.

Special Power-Ups and Combinations

The game features exciting special candies that activate when you match larger groups: - Rainbow Cake : Created by matching five sweets, eliminates all candies of the matched color - Special Chain Reactions : Longer candy chains unlock powerful abilities - Collectible Elements : Gather special items like honey and unique sweets as you progress

Cross-Platform Compatibility

Enjoy seamless gameplay across all your devices: - Web Browser : Play instantly without downloads on desktop or mobile browsers - Mobile Apps : Dedicated Android and iOS versions available for enhanced mobile experience - Cloud Progress : Your game progress syncs across platforms

Free-to-Play Accessibility

Candy Riddles is completely free to play with no mandatory purchases. All levels and features are accessible without payment, making it perfect for casual gaming sessions.

Gameplay Mechanics

Basic Match-3 Rules

The core gameplay follows classic match-3 principles: 1. Drag and swap adjacent candies to create matches 2. Match three or more identical sweets to clear them from the board 3. Chain reactions occur when clearing candies causes others to fall and create new matches 4. Complete objectives specific to each level to progress

Strategic Elements

While easy to learn, Candy Riddles incorporates strategic depth: - Limited moves in many levels require careful planning - Obstacle navigation around blockers and special tiles - Combo optimization to maximize points and clear objectives efficiently - Resource management for special candies and power-ups

Operation Guide

Desktop Controls

  • Mouse : Drag the left mouse button to swap candy positions
  • Click : Select candies to highlight possible moves
  • Drag : Move candies to adjacent positions to create matches

Mobile Controls

  • Touch and drag : Swipe candies to swap their positions
  • Tap : Select candies and potential matches
  • Pinch to zoom : Adjust view on smaller screens (if available)

Tips for Success

  1. Look for combo opportunities - Focus on creating larger matches for special candies
  2. Plan ahead - Consider how your moves will affect the entire board
  3. Use special candies strategically - Save powerful combinations for difficult sections
  4. Study level objectives - Each level has specific goals beyond just matching candies

Why Play Candy Riddles

Perfect for All Ages

Candy Riddles appeals to players of all skill levels and ages. Its intuitive gameplay makes it accessible for beginners, while the strategic depth and challenging levels provide entertainment for experienced puzzle game veterans.

Stress-Free Gaming Experience

With no time pressure and the ability to replay levels, Candy Riddles offers a relaxing gaming experience perfect for unwinding after a busy day or filling spare moments.

Continuous Content Updates

The game regularly receives updates with new levels and features, ensuring there's always fresh content to explore. With over 2,200 levels already available, you'll have plenty of challenges to keep you entertained.

Social and Competitive Elements

While primarily a single-player experience, Candy Riddles encourages friendly competition through score sharing and level completion achievements, making it perfect for casual social gaming.

Frequently Asked Questions (FAQ)