# Logic Grid — NOTICE This package is a Playnesta build of **Logic Grid**, a deduction puzzle also searched as *logic puzzle*, *logic grid puzzle*, *logic puzzle games*, *logic problems* and *zebra puzzle*. The rule form is public: N houses in a row, one item per category per house, and a list of true relational clues. No upstream game build is redistributed, so there is no upstream commit, licence or file to pin — every byte in this directory was written for this build. ## Naming and marks *Logic grid puzzle* is a generic genre name, and *zebra puzzle* / *Einstein puzzle* are folk names for the same form; none of them is a mark of a single owner. The heading and the slug are **Logic Grid**. The words above appear in the page copy, the metadata and this notice for description and search only. This build is not affiliated with, endorsed by or derived from any commercial logic puzzle site, book series or app. ## What is ours ### Playnesta original (MIT) Every file in this package is written by Playnesta and released under the MIT license (see `LICENSE.txt`): - `js/engine.js` — the pure rules: bitmask domain propagation for six clue kinds (same / different / left / right / next / not next), a branching solution counter, the mapping from a player's own marks to domains, the forced cell used by Hint, the dead-end test used by Check, and the win and disagreeing-mark counters. No runtime puzzle generation. - `js/puzzles.js` — the frozen library: 18 puzzles (6 × 4 houses / 3 categories, 6 × 4 houses / 4 categories, 6 × 5 houses / 4 categories). Every puzzle was generated offline, proved to have exactly one solution, and its clue list was minimised by dropping every clue that was not needed. Easy and medium puzzles are additionally proved finishable by propagation alone (no guessing). The generator and its independent verifier live in `outputs/gen-logic-grid/gen_levels.rb`; `outputs/gen-logic-grid/harness.mjs` re-counts every solution with `js/engine.js` so the two implementations have to agree. - `js/main.js` — the shell: the three-state marks, auto-crossing of the marked house row and item column, per-gesture Undo, puzzle and tier navigation, the counted Hint, the Check counter and dead-end test, the clock, star rating, best time and saved progress (this browser only), the rules modal and the analytics wiring. - `css/style.css` — the shell stylesheet. The swatches are plain colours and the pet/drink glyphs come from the reader's own emoji font; **no sprite, audio, webfont or network asset** is used or redistributed. - `index.html`, `playnesta_bridge.js`, `playnesta_touch.js` — the page shell, the five-event analytics bridge (game_load / game_start / game_60s / game_restart / game_win) and the touch shim. ### Upstream None. There is no upstream repository, commit SHA, artwork or audio in this package, and `playable_source_commit` in the catalogue points at the Playnesta commit that added these files so the shipped bytes stay traceable. Playnesta Games is the developer and publisher of this web implementation.