Sticks

You are given a grid with several blocks. Fill every blank cell with a line, which connects two cell edges and goes horizontally or vertically through the center of the cell. The lines must follow these rules:

  1. A number overlapping a line indicates the length of that line.
  2. A line can’t overlap more than one number.
  3. Numbers in blocks indicate the amount of lines connected to the cell.

Controls

On a touch screen, a tap does what a click does, and a long press what a right-click does (more ways to right-click).

Click a square to place a vertical line in it (click again to turn it horizontal, and again to clear it). Right-click it to place a horizontal line in it (again to turn it vertical, and again to clear it).

With the keyboard, the arrow keys move a cursor around the board. Enter does what a click does to the square under it, and Space what a right-click does. Press 1 to place a vertical line in it; clicking it round gets there too. Press 0 or 2 to place a horizontal line in it; right-clicking it round gets there too. Press Backspace or Delete to clear it; clicking it round gets there too.

You can also drag horizontally or vertically across the squares to draw a line that way through each of them; a drag that starts along a line already there clears the lines it passes over instead. Hold Shift or Ctrl while moving the cursor to draw a line through the square it leaves and the square it enters (Shift across the way it moves, Ctrl along it), or both to clear them.

When a line connects to a block

A line is connected to a block when it runs into it: a horizontal line in the cell to its left or right, or a vertical line in the cell above or below. A line lying alongside a block — a vertical line beside it, or a horizontal line above it — does not connect to it, and can never come to. That is why a block can run out of usable sides long before its number is met.

Where the puzzle comes from

This puzzle type was invented by Nikoli, and is known as Tatebo-Yokobo.

More information: https://www.janko.at/Raetsel/Tateboo-Yokoboo/index.htm

Hints

Hint explains the next step rather than simply making it. It reasons only from the numbers and the lines you have placed, so it carries on from wherever you are, as long as none of your lines is wrong; if one is, it asks you to fix the highlighted mistakes first.

Every step rules one direction out and so leaves the other. The hint names the square by its number when it has one (“this 2 must be vertical”), and a block’s number as “the 2 block”. The reasons it gives are the rules: a line that would grow too long for its number, one that would leave a number too little room to reach its length, one that would join two numbers into a single line, one that would run into a block that already has all its lines, and one that would close off a side a block still needs, which the hint calls an open side. When one number rules out several squares, the hint walks through them one at a time as a single step.

On an Unreasonable board there comes a point where no square has a direction that breaks a rule at once. The hint then says that nothing further follows by deduction instead of choosing for you. Save your position and try a line in a square beside a number: if it is wrong, a few forced squares later some number has no way left to be met. The hint carries on from whatever you decide.

Sticks parameters

These parameters are available from the ‘Custom type…’ option on the ‘Type’ menu.

Width, Height
Size of the grid in squares. Each must be at least 2.
%age of blocks
Rough percentage of blocks in the grid, from 5 to 100.
Symmetry
The pattern the blocks follow. None places them freely. 2-way mirror makes the bottom half a mirror image of the top half, and 2-way rotational makes the grid look the same turned upside down. 4-way mirror mirrors top to bottom and left to right, and 4-way rotational makes the grid look the same after a quarter turn, which needs a square grid.
Difficulty
Determine the difficulty of the generated puzzle; see what the names mean. An Easy puzzle can be finished one forced square at a time: there is always a square where a line one way would break a number at once. An Unreasonable one has a single solution that those steps stop short of, so somewhere you have to try a line and see what follows. The Hint button stops where the forced squares do.

More help