AZTest
← All logic puzzles

Heyawake

Shade rooms to meet the clues without walling in white cells.

Start level 1 100 levels

Loading the levels…

How to play

  • A number in a room indicates exactly how many of its cells are shaded. Unnumbered rooms can have any number of shaded cells.
  • Shaded cells can never touch along a side (orthogonally), though they may touch diagonally at corners.
  • All white (unshaded) cells must form a single connected group — no white cell may be cut off or isolated.
  • An unbroken straight line of white cells (across or down) cannot cross more than two rooms: a white line that passes through one room and enters a third room is forbidden.

Room Clues & No Adjacent Shaded Cells

A number in a room specifies exactly how many of its cells are shaded. Shaded cells can never touch along a side (orthogonally), though touching at a corner is allowed.

0200
✓ Correct Room clue 2 has exactly 2 shaded cells; unnumbered rooms hold legal counts; shaded cells touch only diagonally.
0200
✗ Wrong Too many shaded cells: the bottom-left room has clue 2, but 3 cells are shaded.
0200
✗ Wrong Adjacent shaded cells: shaded cells cannot share an edge (touch horizontally or vertically).

The Two-Room White Line Rule

A continuous straight line of unshaded (white) cells cannot pass through more than two rooms (horizontally or vertically). It must be interrupted by a shaded cell.

0200
✓ Correct Allowed: the white line along row 0 spans across two rooms, and is stopped by the shaded cell in the corner room.
0200
✗ Wrong White line crosses 3 rooms: row 0 passes straight through three rooms without being stopped by a shaded cell.

White Cell Connectivity

All white (unshaded) cells must form a single connected group. Shaded cells cannot wall off or isolate any white cell.

0200
✓ Correct Every unshaded white cell connects to the rest of the board.
0200
✗ Wrong Isolated white cell: shaded cells cut off the cell at (2, 3) from the rest of the white cells. All white cells must stay connected.
A small Heyawake, solved.