To avoid common mistakes in Heyawake, check every shade against four conditions: exact room totals, no edge-sharing black cells, one connected white region, and no straight white run through three rooms.
This combined check is more dependable than counting room clues alone because one black cell can affect adjacency, connectivity, and a corridor at the same time. The version described here is a fixed three-by-six board divided into three outlined vertical rooms. Every room carries the clue 1, so each room must contain exactly one black cell. It is a specific fixture rather than a generator for arbitrary Heyawake boards, which means the room positions and reference solution below apply only to this layout.
Open the Heyawake Puzzle when you want to test the rules. Move the selection with the arrow keys, press Space to shade or unshade a cell, and press Enter for an optional white mark. The primary rules come from Nikoli's published Heyawake rules, while this implementation independently checks room totals, black-cell adjacency, white connectivity, and room-crossing corridors after every shade.

The rule failures that cause invalid boards
Most avoidable errors come from checking one part of Heyawake and forgetting another. Use the following distinctions to identify what has gone wrong before changing cells.
| Common error | What makes it invalid | Correction |
|---|---|---|
| Treating the room clue as a maximum | A room marked 1 must contain exactly one black cell, not zero and not two. | Remove any extra shade, or add the missing one while checking the other rules. |
| Placing black cells edge to edge | Orthogonally adjacent black cells create an immediate contradiction. | Remove or relocate one of the touching shades so they no longer share a side. |
| Isolating part of the white area | Every remaining white cell must be reachable from every other white cell by orthogonal moves. | Trace the white region and change the shade that cut off its route. |
| Allowing a three-room corridor | An uninterrupted straight white run may pass through no more than two rooms. | Place a black cell in the run before it reaches the third room, without breaking white connectivity. |
Diagonal contact is not a mistake: black cells may touch at a corner, but they may not share an edge. The Puzzle Heyawake FAQ confirms that distinction. Another common error is expecting a white mark to affect the result. Enter adds a personal reasoning aid to an unshaded cell; only the black-cell arrangement is validated and scored.
Place shades with a mistake-proof routine
- Start from a clean, oriented board. The fixture has three rows and six columns, with three vertical six-cell rooms. If an earlier experiment left shades, notes, moves, or warnings behind, use Restart before beginning a clean attempt.
- Read each room as an exact quota. Every outlined room shows 1, so plan one black cell in each room. Do not shade a second cell in a room until you have checked the global white-cell conditions.
- Record uncertain candidates with notes. Use Enter to place or remove a white mark on an unshaded cell. This can help you remember a possibility without spending a shade action or changing the solution.
- Use the disclosed reference placements. On this fixed board, shade the second cell of the top row, the fourth cell of the middle row, and the fifth cell of the bottom row. This is a disclosed valid pattern, not a claim that no other arrangement is possible.
- Shade each selected cell once. Move to it with the arrow keys and press Space. These three placements put one black cell in each room and keep any two black cells from sharing an edge.
- Verify the connected white area. The fifteen remaining white cells should form one orthogonally connected region. Start at any white cell and trace up, down, left, and right; every other white cell must be reachable without crossing a black cell.
- Scan every straight white run. A horizontal or vertical sequence of unbroken white cells may continue through two rooms but not three. Pay particular attention to the rows, and make sure a black cell interrupts any run before it reaches the third room.
- Confirm all checks together. Completion requires exact room clues, connected white cells, no orthogonally adjacent black cells, and no three-room white corridor. Three valid shade actions complete this fixed board.
The reference positions provide a quick route, but they should not replace the rule checks. A pattern can look plausible because the black cells are well spaced while still separating a white region or leaving an uninterrupted corridor. Run the complete audit even when the board appears finished.
Separate contradictions from temporary warnings
Not every problem shown by the validator means the current attempt is beyond repair. The distinction matters because the game recalculates the board after every shade and does not lock the controls when a warning appears.
- Orthogonally adjacent black cells: this is an immediate contradiction. One of the two shades must be removed or moved.
- More black cells than a room's clue: that room is irreconcilable unless an extra shade is removed.
- Disconnected white areas: the validator reports this as a contradiction. Trace the blocked route and adjust the shade responsible for the separation.
- An underfilled room or a currently overlong white corridor: this is not an irreversible dead end because another legal shade may still repair it. These conditions prevent completion, but they do not necessarily mean the current position must be abandoned.
When a warning appears, first identify its type instead of toggling several cells at random. Remove an extra shade from an overfilled room, separate touching black cells, or trace the disconnected white route. For an underfilled room or long corridor, consider a candidate that could repair the issue, then check that it does not create edge-adjacent black cells or a disconnected white area. If the state has become difficult to read, Restart clears all black cells, white marks, moves, score, and contradictions. The companion reference on Heyawake Tips and Tricks: Controls and Contradictions provides a compact summary of those status changes.
Control the board without wasting actions
Accidental toggles are easy to avoid once each input is treated as a distinct operation. The following table separates the controls by what they actually change.
| Input | Effect | Safe use |
|---|---|---|
| Arrow keys | Move the selected cell. | Position the selection before applying another action. |
| Space | Shade or unshade the current cell. | Use only after checking the intended room and neighboring cells. |
| Enter | Place or remove an optional white-cell mark. | Use for reasoning notes; it does not validate or score the cell. |
| Mouse or touch | Click a cell to toggle its black state. | Use the context-menu gesture when you want a white note. |
| Restart | Clear the board, marks, moves, score, and contradictions. | Use when a clean reset is more reliable than continued experimentation. |
| Double-press Escape | Open or close the shared spreadsheet boss cover. | Double-press it again to resume the board. |
The score starts at 1,000, and every actual black-cell shade or unshade action subtracts ten, with a minimum of zero. The formula is max(0, 1000 − 10 × black-cell toggle actions). For the fixed board's three clean placements, max(0, 1000 − 10 × 3) = 970. Optional white marks do not reduce the score, so use them for notes and avoid repeatedly shading an uncertain cell.
Audit the fixed layout before you finish
Use this final check after every meaningful change, especially when the status display says the puzzle is complete:
- Does each of the three rooms contain exactly one black cell?
- Do any two black cells share a horizontal or vertical edge?
- Are all fifteen white cells part of one orthogonally connected region?
- Does every uninterrupted straight white run stop before entering the third room?
- Have the three intended black cells been placed without unnecessary toggles?
- Are any white marks being mistaken for actual black cells or validated clues?
A matching room total alone does not mean the puzzle is solved. The exact room clues, separation rule, connectivity rule, and corridor limit must all be satisfied at the same time. This final audit is the safest way to catch a mistake that looked harmless in one row but affected the board globally.
Keep the fixture-specific details in view
The strategy in this article applies to one fixed 18-cell board with three six-cell rooms and a clue of 1 in each room. It does not accept custom room clues or create new layouts, and the reference cell positions should not be transferred to a different Heyawake puzzle. The general rules remain useful elsewhere, but another board may have different regions, clues, and possible arrangements. A published solution confirms one valid completion for this fixture; it is not proof that the arrangement is unique.