Skip to content

Shingoki Puzzle

Build one orthogonal loop through numbered black and white circles while matching both their shape and segment-sum clues.

Privacy: your files never leave your device. All processing happens locally in your browser.

How to use

  1. 1.Press Space or Enter on the black 6 to begin, then draw one cell at a time with the arrow keys.
  2. 2.Turn on black circles, pass straight through white circles, and make the two straight arms sum to each printed number.
  3. 3.Close the loop only at its starting cell; Restart resets the fixture and Escape twice opens the boss screen.

About Shingoki Puzzle

Shingoki Puzzle is a compact numbered-circle loop challenge on a four by four grid. Draw one closed, non-branching orthogonal loop through every clue. A white circle requires the line to pass straight through it, while a black circle requires the line to turn on it. Each printed number adds another condition: it equals the combined lengths of the two straight line arms meeting at that circle.

The playable Puzzle Shingoki rule page supplies the maintained game definition, and the ICLR 2026 PuzzleClone benchmark independently describes the same white-straight, black-turn, and numbered-length semantics. The exact grid, clues, score, and controls on this page are Lizely product choices. The disclosed fixture has a black 6 in the upper-left cell and a white 3 immediately to its right.

Press Space or Enter to begin at the selected cell, then extend the route with the arrow keys. The intended route follows the complete outer perimeter: move right three times, down three, left three, and up three to close at the starting clue. That route contains twelve unique body cells and takes twelve accepted movements. A clean solve earns 880 points from a starting value of 1,000.

On the perimeter route, the black clue is a corner. Its two incident straight arms have three cells each, producing the required combined value 6. The white clue sits on the top straight segment. Its forward arm continues two cells to the corner and its backward arm reaches the neighboring black clue, producing the required combined value 3. Both clue color and clue number must pass before completion is accepted.

The browser rejects route reuse immediately. Re-entering a path cell other than the start creates a detected dead end because the single loop would self-intersect or branch. Returning to the start closes the route; a closed route with the wrong circle shape, value, clue coverage, or geometry is marked deadlocked rather than solved. Board-edge arrows do nothing, and completion freezes the result until Restart.

Automated tests cover orthogonal movement, a unique loop body, white-circle straight behavior, black-circle turn behavior, summed arm values, mandatory clue coverage, invalid premature closure, table sizes, and the complete twelve-step keyboard solve. The tests assert moves, score, completion, and a short invalid square, so the game cannot pass merely because its final screen renders.

The board is a semantic CSS grid with a visible keyboard cursor. Each cell announces its position, clue color and value, and path state. All colors and borders use Lizely CSS variables; there is no canvas, hard-coded palette, downloaded image, audio, timer, pointer-only control, or server state. Best score is stored only in localStorage. Restart restores the empty route and score. Double-press Escape for the shared simulated spreadsheet boss screen and repeat it to return. For similar loop and shading puzzles, try Masyu, Heyawake, Pipes, or Numberlink.

Methodology & sources

The route is an ordered list of 4×4 cell indices. Every accepted extension must be orthogonally adjacent and may revisit only the first cell for closure. For each clue, the validator determines whether its neighboring path vectors are collinear, then walks in both incident directions until a turn and sums the two arm lengths. Completion requires unique body cells, all clues present, white straights, black turns, and exact values. Score is max(0, 1000 − 10×accepted steps).

Frequently asked questions

What do black and white circles mean?
The loop must turn on a black circle and pass straight through a white circle.
How is a clue number measured?
It is the combined length of the two straight portions of line that meet at the numbered circle, one in each incident direction.
Can the loop revisit a cell?
No. Every body cell is unique; only the starting cell is revisited once to close the single loop.
Is this a random puzzle?
No. It is a disclosed four by four fixture designed for a reproducible twelve-step keyboard completion test.

Mini Games guides

View all