You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Rename doc/ folder to docs/ to support GitHub Pages deploy from /docs
- Update all references in README.md and GraphTests.cs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@@ -85,7 +85,7 @@ The solver fills the grid left-to-right, top-to-bottom. At each position, it onl
85
85
86
86
This is where the graph structure pays off. Instead of checking "does this block work here?" by comparing colours each time, we simply ask "is there an edge in the compatibility graph between what's already placed and what I'm trying to place?" — a fast set lookup.
@@ -101,7 +101,7 @@ Level 2 adds the rule that no two adjacent blocks can both have diamonds. The so
101
101
102
102
Since 8 of the 16 blocks have diamonds and 8 don't, and no two diamond blocks can touch, diamonds must occupy one "colour" of a checkerboard pattern (like bishops on a chess board). There are only two possible parities — diamonds on even (r+c)%2 positions or odd positions. The solver tries both, pre-filtering each position's domain to only include diamond or non-diamond blocks as appropriate. This halves the search space before backtracking even begins.
@@ -124,6 +124,6 @@ No two blocks containing a diamond should touch, i.e., blocks with diamonds shou
124
124
125
125
## Play and View
126
126
127
-
-[Interactive Game](https://danieldownes.github.io/BlockProblemGame/doc/game.html) — drag and drop blocks onto the board, rotate pieces, and use hints
128
-
-[Block Reference](https://danieldownes.github.io/BlockProblemGame/doc/blocks.html) — visual reference of all 16 blocks
129
-
-[Solutions](https://danieldownes.github.io/BlockProblemGame/doc/solutions.html) — solved grids for Level 1 and Level 2
127
+
-[Interactive Game](https://danieldownes.github.io/BlockProblemGame/docs/game.html) — drag and drop blocks onto the board, rotate pieces, and use hints
128
+
-[Block Reference](https://danieldownes.github.io/BlockProblemGame/docs/blocks.html) — visual reference of all 16 blocks
129
+
-[Solutions](https://danieldownes.github.io/BlockProblemGame/docs/solutions.html) — solved grids for Level 1 and Level 2
0 commit comments