Candy Riddles - Match 3 Puzzle Game

Seele01-Flash
By
Candy Riddles is an addictive match-3 puzzle game featuring colorful sweets and challenging levels. Match cookies, donuts, and candies to progress through 2,200+ exciting levels with special power-ups and rewards.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Candy Riddles 3D**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** Create a vibrant, "Juicy" cartoon aesthetic. Use **Three.js Geometries** to procedurally generate the candy pieces to avoid external asset dependencies. * *Donut:* Blue Torus geometry with small white sphere "eyes" or sprinkles. * *Jelly:* Purple Cone or Cylinder with rounded edges (smooth shading). * *Star:* Red Extruded shape or simple Dodecahedron. * *Flower/Bud:* Yellow Icosahedron or clustered spheres. * **Materials:** Use `MeshPhysicalMaterial` or `MeshStandardMaterial` with high roughness (0.2) and metalness (0.1) to give the candies a glossy, sugar-coated look. * **Background:** A 2D plane or simple skybox behind the grid showing a blurred "Candy Kingdom" or "Dungeon Wall" texture (use a procedural gradient of purple/blue if textures aren't available). * **Particles:** Simple particle explosions (using `PointsMaterial`) when candies are matched. Gold sparks for high-scoring combos. * **Mobile Optimization:** Use low segment counts for geometries (e.g., Torus radialSegments: 16). Use a single directional light and ambient light to reduce calculation cost. ### 2. Audio Requirements * **BGM:** (Placeholder comments in code) A lighthearted, looping marimba or synth-pop track. * **SFX:** * *Select:* A high-pitched "blip" or "squeak". * *Swap:* A "whoosh" sound. * *Match:* A satisfying "crunch," "pop," or "splash" sound. * *Combo/Special:* A magical rising chime or harp glissando. ### 3. Gameplay Loop * **Grid System:** Generate an 8x8 grid of random candy types. * **Matching Logic:** * Players swap adjacent candies horizontally or vertically. * If a match of 3 or more is formed, the candies disappear (scale down to 0). * Remaining candies fall down (gravity effect with bounce easing). * New candies spawn at the top to fill the grid. * If a swap does *not* result in a match, the candies animate back to their original positions (invalid move). * **Special Candies (Simplified):** * **Match 4:** Creates a glowing "Striped Candy" (visually distinct) that clears a whole row/column when matched. * **Match 5:** Creates a "Rainbow Cake" (sphere with multi-color texture) that clears all candies of a specific color when swapped. * **Score:** 100 points per candy. Score multiplier for chain reactions (cascades). ### 4. Mobile Controls & Interaction * **Touch Input:** * Implement `Raycaster` logic mapped to `touchstart` and `touchmove` events. * **Gesture:** User touches a candy, drags finger to the adjacent candy, and releases to trigger a swap. * Alternatively, support "Tap-to-Select" then "Tap-Adjacent-to-Swap" for precision. * **Orientation:** Set the camera to adapt to Portrait Mode (vertical grid stack) or Landscape (grid centered). The camera FOV needs to adjust based on `window.innerWidth / window.innerHeight` so the grid is always fully visible. * **Feedback:** * **Visual:** When a candy is selected, it should pulse (scale up slightly) or have a glowing outline. * **Haptic:** Trigger `window.navigator.vibrate(50)` on a successful match if supported. * **UI Overlay:** Simple HTML/CSS overlay for "Score" and "Level" at the top, styled with a rounded, bubbly font (e.g., Comic Sans or similar web safe font), ensuring buttons are at least 44x44px for touch accessibility. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Candy Riddles is a delightful match-3 puzzle game that brings together colorful candies, mouth-watering sweets, and challenging gameplay mechanics. This engaging puzzle game offers players a sugar-coated adventure through thousands of carefully designed levels, each presenting unique challenges and rewarding successful combinations with spectacular visual effects and satisfying gameplay.

With its vibrant graphics and intuitive controls, Candy Riddles provides an accessible yet challenging experience for puzzle game enthusiasts of all skill levels. The game combines classic match-3 mechanics with innovative twists that keep players engaged and entertained.

Core Features

Extensive Level Collection

Candy Riddles boasts an impressive collection of over 2,200 levels , ensuring countless hours of entertainment. Each level features unique layouts, objectives, and challenges that require different strategies to complete.

Special Power-Ups and Combos

The game introduces exciting power-ups that activate when you create larger matches: - Rainbow Cake : Match five candies to eliminate all candies of the same color - Special Chain Reactions : Create cascading effects for massive point bonuses - Unique Level Mechanics : Each level introduces new elements like honey collection and special sweet combinations

Cross-Platform Compatibility

  • Web Browser : Play instantly without downloads on desktop and mobile browsers
  • Mobile Apps : Dedicated Android and iOS applications for on-the-go gaming
  • Seamless Experience : Consistent gameplay across all platforms

Visual Appeal

The game features beautifully designed candy graphics with smooth animations, creating an immersive and visually satisfying puzzle experience.

Game Mechanics

Basic Gameplay

Candy Riddles follows the beloved match-3 formula while adding its own unique twist: 1. Match Three or More : Align identical candies horizontally or vertically 2. Clear Objectives : Each level has specific goals to achieve 3. Strategic Planning : Think ahead to create powerful combinations 4. Progressive Difficulty : Levels become more challenging as you advance

Advanced Strategies

  • Create longer chains for bigger rewards
  • Look for opportunities to trigger special candy combinations
  • Plan moves carefully to maximize points and efficiency
  • Utilize power-ups strategically to overcome difficult obstacles

Operation Guide

Desktop Controls

  • Mouse : Drag and drop to swap adjacent candy positions
  • Left Click and Drag : Select and move candies to create matches

Mobile Controls

  • Touch and Drag : Tap and swipe to swap candy positions
  • Intuitive Gestures : Simple touch controls optimized for mobile devices

The control scheme is designed to be immediately accessible, allowing players to focus on puzzle-solving rather than complex input methods.

Why Play Candy Riddles

Perfect for All Ages

Candy Riddles offers family-friendly entertainment suitable for players of all ages. The colorful design and straightforward mechanics make it accessible to children, while the strategic depth provides challenges for adult players.

Free to Play

Enjoy the complete Candy Riddles experience at no cost. Play directly in your web browser or download the mobile app - no payment required to access the core gameplay.

Stress Relief and Mental Exercise

Match-3 games like Candy Riddles provide excellent mental stimulation while serving as a relaxing break from daily stress. The satisfying nature of creating matches and clearing levels offers both cognitive benefits and emotional satisfaction.

Regular Updates

With thousands of levels already available and regular content updates, Candy Riddles provides long-term entertainment value that grows over time.

Social and Competitive Elements

Compete with friends, share achievements, and challenge yourself to reach new high scores as you progress through increasingly difficult levels.

Frequently Asked Questions (FAQ)