adventures and experiments in bringing new puzzles to life
blog logic puzzles piward coding
github profile
𝟙𝟚· puzzles The paper “Mathematical Definition and Systematization of Puzzle Rules” by Itsuki Maeda and Yasuhiro Inoue details a mathematical framework for logic pencil
puzzles with formulas defining 10 different puzzle types. Nikoli, the company that popularized “Number Place” puzzles under the Japanese trademark ‘Sudoku’, publishes
𝕁 collections in Japan and describes each on their website: Slitherlink Sudoku Shikaku Choco Banana Inshi no Heya Fillomino Kurotto Sukoro Norinori Hitori. As I get my
𝕒 ⟪Silver⟫ Solver working on each, I'll post my ⟪Sapphire⟫ definitions.
𝕟
𝟘𝟝· I started on a formulation of Slitherlink rules in ⟪Sapphire⟫. Connectivity, as a pairwise relation could be easily satisfied by being true for any vertices that are
connected to anything. I ended up defining a distance function with a special value (rather than a distinct relation) for ‘not connected’. In the next day or two,
I'll see how ⟪Silver⟫ does trying to find a satisfying model (aka solution).
1 𝟮 𝟙𝟡· Here's a link to the Sudoku rules I'm using for my experiments, written in my Sapphire logic syntax. So far, Sapphire supports first order formulae, integer
operations and sets of integers. My ad-hoc "Silver Solver" supports partial evaluation and rewriting to try to find a satisfying model.
𝟵 / 𝟘𝟙· Square Routes playtesting is just about happening!
playtesting