Nurikabe Strategy Guide - Bram-Hub/LEGUP GitHub Wiki
Strategy to solve puzzles
Here are the general steps you can take to solve the Nurikabe puzzle
Step 1: Close cells adjacent to 1s
Step 2: Close any cell between two numbers
Step 3: Identify "Realms"
Realms are cells with reach on the board.
It is recommended to start with cells that have the Maximum reach.
When considering reach, disregard open and closed cells
Step 4: Overlay all Realms
Step 5: Close any cell not covered by any of the Realms
Step 6: Check for cells that are forced open.
If any realm contains the number of cells as the contained number make them all open
Step 7: Reduce maximum reach
If an open cell is only covered by one realm, it belongs to that number
Because of this, the coverage of the realms will shrink to be able to connect to the open cell
Repeat from step 5
Step 8: Remove cells adjacent to open cells
Any cell adjacent to an open cell that belongs to a different realms should be closed
Repeat from step 5 again
Step 9: Check for blocks of 3 closed, and check what block is forced open
Step 10: Check for blocks of 2 closed
A block of 2 indicates that at least one of the other 2 must be open. If the 2 unmarked are in only one realm, at least one of the 2 must be connected to that number. If one cell must be Open for the other to be, then the first cell must be Open. This will reduced the maximum reach of the realm (Step 7).
If each of the unmarked cells is in only 1 realm and the realms are not the same, one of the cells must be closed