The Ops Community ⚙️

Rocky Yang
Rocky Yang

Posted on

Client-Side Constraint Solvers for 24 Logic Puzzles: Nonogram, Hashi, and Lights Out in Vanilla JS

Shipping 24 distinct daily logic puzzles in a single static site without heavy frameworks requires compact deterministic generators and fast constraint solvers that run cleanly on mobile CPUs.

In Puzzle Fern, every puzzle board — from Nonogram Solver and Hashi Bridges to Lights Out, Water Sort, and Word Search — is verified client-side for unique solvability before play.

Key Implementation Details

  • Line-Propagation + Backtracking: Nonogram rows and columns run deterministic line intersection passes before branching.
  • Zero External Font Tracking: Pure system typography keeps mobile layout shift at zero.
  • Interactive Guides: Step-by-step solving heuristics backed by solver proofs live at puzzlefern.com/guides/.

Play all 24 browser logic games at https://puzzlefern.com/.

Top comments (0)