Sugar Shock - Multiplayer Match 3 Game

Seele01-Flash
By
Sugar Shock is an exciting multiplayer match 3 game where players compete in fast-paced 60-second candy matching battles. Race against time and other players to create the most matches with colorful sweets including lollipops, gummy bears, donuts, and cupcakes.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "Sugar Shock". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style:** "Cosmic Candy Casino". Use a color palette dominated by vibrant pinks, purples, and neon blues against a deep, dark background (simulating the starry night sky from the title screen). The aesthetic should be glossy, bubbly, and high-contrast. * **3D Models (Candies):** Use low-poly Three.js primitives to represent candies to ensure 60FPS on mobile: * **Donut:** TorusGeometry (Pink with sprinkles texture). * **Hard Candy:** IcosahedronGeometry (Shiny Blue). * **Gummy Bear:** Extruded shape or capsule (Translucent Green). * **Lollipop:** SphereGeometry (Swirled texture). * **Cupcake:** CylinderGeometry (Brown base, white top). * **Board Layout:** An 8x8 grid floating in "space". The grid cells should be semi-transparent dark squares. * **Effects:** * **Explosions:** Simple particle systems (PointsMaterial) that burst outward when candies are matched. * **Highlighting:** A glowing wireframe or emission effect when a candy is selected. * **Camera:** Use an **OrthographicCamera** to ensure consistent grid alignment and easier touch detection on mobile screens without perspective distortion. ### 2. Audio Requirements * **BGM:** Upbeat, fast-tempo "Electro-Swing" or "Arcade Pop" loop to induce a sense of urgency and excitement (Casino style). * **Sound Effects (SFX):** * **Select:** A high-pitched "bloop" or bubble pop sound. * **Match:** Satisfying "crunch" or glass-like chime sound. * **Combo:** Ascending musical notes for chain reactions. * **Timer Warning:** A ticking clock sound for the final 10 seconds. * **Time's Up:** A buzzer or slot machine "jackpot" sound. ### 3. Gameplay Loop * **Core Mechanic:** Classic Match-3. The player has **60 seconds** to score as many points as possible. * **Logic:** 1. Player swaps two adjacent candies. 2. If a line of 3 or more identical candies is formed (horizontal or vertical), they disappear. 3. Existing candies fall down (gravity simulation) to fill gaps. 4. New random candies spawn at the top and drop in. 5. If the swap creates no match, the candies revert to their original positions. * **Scoring:** * Base match: 100 points. * Match 4+: Spawn a glowing "Power-up" candy (visually distinct) that clears a whole row/column when matched. * **Win/Loss:** The game ends strictly at 60 seconds. Show a "Game Over" modal displaying the Final Score and a fake "Global Rank" (to simulate the IO/Multiplayer aspect). ### 4. Mobile Controls & Interaction * **Input Handling:** Use `Raycaster` for touch events. * **Control Scheme (Swipe is preferred):** * **Swipe:** Detect touch start and touch end coordinates. If the drag distance > 20px, calculate direction (Up/Down/Left/Right) and trigger the swap. * **Fallback (Tap):** Tap first candy (highlight), tap adjacent candy (swap). * **UI Layout (Responsive):** * **Top Bar:** Timer (large bold font, counting down from 60), Score (neon styling). * **Orientation:** Lock game container to fit within the screen width (`window.innerWidth`), suitable for Portrait mode default, but responsive to Landscape. * **Feedback:** * **Visual:** Smooth TWEEN.js animations for swapping and falling (essential for "Juicy" feel). * **Haptic:** Trigger `navigator.vibrate(50)` upon a successful match. * **Screen Shake:** Slight camera shake offset when a match of 4 or more occurs. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About Sugar Shock

Sugar Shock is a thrilling multiplayer match 3 puzzle game that transforms the traditional candy matching experience into a competitive online arena. With a solid 3.6/5 rating from players, this fast-paced game challenges you to match colorful candies in intense 60-second rounds while competing against players from around the world.

Unlike casual match 3 games, Sugar Shock brings adrenaline-pumping competition to the genre. The moment the timer starts, you'll need to think fast and match even faster to climb the global leaderboards and earn your place in the Candy Club.

Core Features

Competitive Multiplayer Action

  • Real-time competition : Battle against other players in live matching sessions
  • Global leaderboards : Climb the ranks by achieving high scores in multiple games
  • Account system : Create an account to track your progress or play as a guest
  • Candy Club rewards : Earn 10 tickets to unlock exclusive club membership

Fast-Paced Gameplay

  • 60-second rounds : Every game is a quick, intense matching session
  • Time pressure : Unlike relaxing match 3 games, this demands speed and strategy
  • Power-ups available : Special boosters help you create more matches faster
  • Goal-based challenges : Each round has specific objectives to complete

Sweet Candy Variety

Match an assortment of delicious treats including: - Colorful lollipops - Chewy gummy bears
- Glazed donuts - Decorative cupcakes

Browser-Based Convenience

  • No download required : Play instantly in any modern web browser
  • Cross-platform support : Works on desktop computers, tablets, and smartphones
  • HTML5 technology : Smooth performance across all devices
  • Free to play : Complete game experience at no cost

Game Mechanics

Basic Matching Rules

Create combinations by switching adjacent candies to form rows or columns of three or more identical treats. The more matches you create, the higher your score climbs.

Special Rewards

Successful matches earn you valuable prizes: - Sugar cubes : Basic reward currency for standard matches - Sugar skulls : Premium rewards for exceptional combinations - Tickets : Collect these to qualify for Candy Club membership

Strategic Elements

While speed is crucial, smart players also focus on: - Creating cascade effects for bonus points - Utilizing power-ups at optimal moments - Prioritizing matches that help achieve round objectives - Managing time efficiently across the 60-second limit

Operation Guide

Getting Started

  1. Access the game : Open Sugar Shock in your web browser
  2. Choose play mode : Create an account for stat tracking or play as a guest
  3. Enter a match : Join the matchmaking queue to find opponents
  4. Start matching : Begin creating candy combinations when the timer starts

Controls

  • Mouse/Touch : Click or tap to select candies
  • Drag : Swap adjacent candies to create matches
  • Power-up activation : Click on power-up icons when available
  • Menu navigation : Use mouse to access settings and account features

Winning Strategies

  • Scan quickly : Identify potential matches across the entire board
  • Plan cascades : Look for moves that create chain reactions
  • Use power-ups wisely : Save special abilities for maximum impact
  • Focus on objectives : Prioritize the round's specific goals
  • Practice regularly : Improve your pattern recognition speed

Why Play Sugar Shock

Perfect for Competitive Players

If you love the satisfaction of match 3 puzzles but crave competitive excitement, Sugar Shock delivers the perfect blend. The multiplayer element adds stakes and urgency that single-player games can't match.

Quick Gaming Sessions

With 60-second rounds, Sugar Shock fits perfectly into busy schedules. Whether you have a few minutes between meetings or want a quick gaming break, each session provides complete satisfaction without major time commitment.

Skill Development

Regular play improves: - Pattern recognition speed - Decision-making under pressure
- Strategic planning abilities - Hand-eye coordination

Social Competition

Compete with friends or challenge strangers worldwide. The global leaderboard system creates ongoing motivation to improve your skills and achieve higher rankings.

Accessibility

As a free browser game, Sugar Shock removes barriers to entry. No downloads, installations, or payments required – just pure matching game fun accessible from any device with internet connection.

Frequently Asked Questions (FAQ)