What problem does it solve?
This Skill helps you design a complete match-3 puzzle game loop—turning a swipe into tile swaps, match detection, tile clearing, gravity cascades, scoring, and win/loss evaluation.
Core Features & Use Cases
- Grid + Tile Definitions: Create a board with typed tiles (normal, striped, wrapped, color bombs, blockers/ice/chain) driven by ScriptableObject-style definitions.
- Match Detection for Core Patterns: Detect horizontal and vertical 3+ line matches and support merging/intersection logic for L/T shapes via overlap detection.
- Cascade Loop (Destroy → Gravity → Refill → Re-match): Run repeated cascades until the board settles with no new matches, enabling combo chains.
- Special Tile Generation & Combo Effects: Produce special tiles based on match size/shape and apply enhanced effects for special-to-special or special-to-regular combinations.
- Game State Gating for Input Safety: Enforce a state machine so player input is only accepted while waiting for input, preventing swaps mid-cascade.
- Objectives + Lives/Energy: Track objectives (score, blockers, item collection, reach goals) and integrate a lives/energy regeneration system for progression.
Quick Start
Use the match3 skill to implement a match-3 game loop in C# by wiring a board model, match detector, cascade/destroy system, and game state machine around a grid of typed tiles.