puzzle-solver-patterns

Community

Pattern-driven constraints for Pips solver

Authortfunk1030
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Puzzle Solver Patterns guide provides patterns and best practices for working with the constraint satisfaction solver used in the Pips puzzle app, helping developers extend and debug the solver.

Core Features & Use Cases

  • Understand common constraint types (sum, equal, different, greater, less, any) and how to combine them with MRV-based backtracking.
  • Learn how to add new constraints (e.g., product, sequential) and perform full and partial constraint checks.
  • Debug solver failures with structured tests, see references to solver.ts and puzzle.ts, and validate with real puzzle scenarios like L-shaped layouts.

Quick Start

Open the Puzzle Solver Patterns guide and follow the examples to add a new constraint type to the solver, then test it with the provided L-shaped puzzle.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: puzzle-solver-patterns
Download link: https://github.com/tfunk1030/vibe/archive/main.zip#puzzle-solver-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.