puzzle

Implement grid-based mobile puzzle logic with undoable moves, hints, and star ratings.

Updated May 6, 2026
One-click install
npx skills add https://github.com/BasarEkinci/memory-card-game --skill puzzle-basarekinci
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: puzzle
Source: https://github.com/BasarEkinci/memory-card-game/tree/main/.claude/skills/genre/puzzle
Command: npx skills add https://github.com/BasarEkinci/memory-card-game --skill puzzle-basarekinci

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you design reliable mobile puzzle game board logic by covering the hard parts: grid state management, reversible moves, hint delivery, and progression/feedback loops.

Core Features & Use Cases

  • Undo system with command pattern: Capture game actions and reliably revert them for player-friendly experimentation in tile/board puzzles.
  • Level packs and star ratings: Structure content using ScriptableObjects and compute performance stars from moves and time for progression.
  • Hint system and touch drag-and-drop: Support idle auto-hints, limited free hints, and responsive touch interactions for common mobile play patterns.
  • Board/grid backbone with move validation: Centralize world↔grid mapping, neighbor queries, snapshot/restore for undo, and legal-move checks.
  • Win condition, scoring, and progression: Detect completion, calculate stars and results, and unlock packs using saved progress.

Quick Start

Use the puzzle skill to implement an undoable, grid-based mobile puzzle flow with hints, star-rated levels, and touch drag interactions.

Frequently Asked Questions about puzzle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement an undo system for grid-based mobile puzzle games?

Structure level progression in mobile puzzle games using ScriptableObjects to define level packs. Compute star ratings from player moves and completion time to gate progression and unlock subsequent content packs.

What is the best way to build a hint system for touch drag-and-drop puzzle boards?

Build a hint system for touch puzzle boards by defining idle auto-hint timers and limited free-hint availability rules. This guides players through valid grid interactions without disrupting the drag-and-drop touch flow.

How do you handle world and grid coordinate mapping for mobile puzzle board logic?

Handle world and grid coordinate mapping for mobile puzzle board logic by centralizing grid queries and neighbor checks. This validates legal moves and ensures accurate touch input translation across the board array.

Can I use ScriptableObjects to manage level packs and star ratings in a puzzle game?

Yes, you can use ScriptableObjects to manage level packs and star ratings in a puzzle game. They provide a data-driven approach to structure content and calculate performance scores based on moves and time.

How do you detect win conditions and save progression data in grid puzzle architecture?

Detect win conditions in grid puzzle architecture by checking board completion states against target configurations. Calculate final scores and stars, then publish results to persist player progression data across sessions.