Shingoki
Shingoki is a loop puzzle with numbered circles. Draw one closed line through every circle. Go straight at white circles, turn at black circles, and match the number on each circle. The number counts the steps in the two straight arms that leave the circle.
The circles
Shingoki is a Japanese loop puzzle, also published as Semaphores. The loop runs from cell centre to cell centre along horizontal and vertical edges. It never branches and never crosses itself. It does not have to visit every cell. The only cells it must visit are the ones with circles.
A white circle is a straight path: the loop enters and leaves on opposite sides. A black circle is a corner: the loop enters and leaves on perpendicular sides. Each circle also carries a number. That number counts the two straight runs leaving the circle. Follow the loop in both directions from the circle, count the steps until the next turn, and add the two counts.
Puzzles ship on 5×5, 7×7, and 9×9 boards with a stored solution. The packs were generated and checked offline, so the browser contains no generator or solver. A hint corrects one edge from the stored answer.
How to play
- Tap or click an edge between two neighbouring cell centres to draw a line. Tap the same edge again to mark a cross, and once more to clear it.
- Drag across several edges to draw a run of line. Dragging from a line erases instead.
- Right-click an edge, or focus it and press X, to mark a cross. A cross is a note that the loop does not use that edge.
- Use the arrow keys to move between edges. Space or Enter cycles an edge, and Delete clears it.
- Finish when the lines form one closed loop, every circle is on it, and every circle's colour and number are satisfied.
The board shows open ends as small rings. An open end is a cell with exactly one line leaving it. The loop cannot stop there, so it must continue or the line must be removed. The status line counts circles that currently satisfy their colour and number, which helps while the loop is still open. The board label says what is missing: open ends, a branch point, separate loops, or a closed loop that still needs its circles checked.
Reading the numbers
A number counts steps, not cells. Start at the circle and take one step to the next cell centre. Keep going straight until you reach a cell where the loop turns. The step into that turning cell counts. Do the same in the other direction and add the two lengths.
A white 5 is a straight run of five steps with the circle somewhere on it. The five can split 1+4, 2+3, 3+2, or 4+1, and the circle does not have to sit in the middle. A black 4 is a corner with two perpendicular arms, such as 1+3 or 2+2. A black 2 can only be 1+1, so the loop turns at the circle and turns again at both neighbours, a three-cell zigzag.
A straight arm does not stop at another circle. It stops at the first turn. If a white circle lies in the middle of a run, the count continues through it. Two circles on the same straight line can constrain each other even when they are not adjacent.
Sizes and levels
5×5 is the smallest board, 7×7 is the standard board, and 9×9 gives the loop more room to bend between circles. The 5×5 and 7×7 packs hold nine puzzles each, three per difficulty. The 9×9 pack holds six puzzles, two per difficulty, because each board takes longer to resolve.
Difficulty comes from the clue count and the solver's search effort, measured offline. Easy boards keep more circles and expose the forced moves early. Hard boards remove clues and delay the deductions. Choose a size and level from the mode button. The address bar keeps the mode and puzzle number for a permalink.
Shingoki strategy
- Start with black circles. A black circle must turn, so it has four possible corners instead of two possible straight lines. Edge and corner positions reduce that further.
- Write down the splits. For a black 5, list 1+4, 2+3, 3+2, and 4+1. Cross out any arm that leaves the board or lands on a cell that cannot be a turn.
- Use small numbers first. A black 2 is fully forced. A black 3 has only 1+2 or 2+1. Small clues usually decide the cells around them before any long run is drawn.
- Treat a white circle as a ruler. Its two exits are opposite, so the whole straight run has the number's length. Mark the two possible axes, then cross out the axis that cannot fit.
- Cross out, do not guess. A cross costs nothing and records a deduction. If an edge would close a small loop before every circle is included, cross it out.
- Watch for one loop. When two line ends meet, check that joining them does not seal a loop that misses a circle. The single-loop rule is often the last constraint to fire.
- Use Hint when a branch stalls. It clears one wrong line or draws one missing line from the stored solution, then leaves the rest of the board alone.
Frequently asked questions
Is Shingoki free to play?
Yes. You can play Shingoki for free. There are no ads today. The plan is ads, an optional subscription that removes them, and optional donations. Ads will not interrupt a game.
What does the number on a circle mean?
It is the sum of the two straight arms leaving the circle, counted in steps to the next turn on each side. A white circle's arms are opposite, so the number is the length of its whole straight run. A black circle's arms are perpendicular, so the number is the two legs of its corner added together.
Does the loop have to fill every cell?
No. The loop must pass through every circle, but it can leave any number of cells unused. That is why a board can have large blank areas and still have one answer.
How is Shingoki different from Masyu?
Both use white and black circles and a single loop. Masyu's circles carry only a colour rule. Shingoki adds a number to each circle, counting the two straight arms leaving it, so each clue gives a shape rule and a distance rule.
What is the difference between a line and a cross?
A line is part of the loop. A cross is a note that the edge is not used. Crosses do not affect the finished answer, so they can stay on the board after the loop is complete.
What sizes and difficulties are available?
Shingoki has 5×5, 7×7, and 9×9 boards. The 5×5 and 7×7 packs hold nine puzzles each, three per difficulty. The 9×9 pack holds six puzzles, two per level. Use the mode button in the play rail to choose a size and difficulty.
Do I ever have to guess?
No. Every puzzle was generated from a complete loop and proved to have exactly one solution before shipping. The browser reads fixed puzzle data and never searches for an answer.
Does the game save my progress?
Yes. The board, size, difficulty, puzzle number, elapsed time, moves, and hints are stored on your device. The size, difficulty, and puzzle number also stay in the address bar.
Can I undo a line?
Yes. Undo steps back through lines, crosses, and hints in the current puzzle. Restart clears the board and resets the timer.