XNurikabe
Current version:alpha
This is a simple X11 programm to play nurikabe.
How to use
A nurikabe is passed via the command line as comma separated string of numbers:
nurikabe 2,0,0,0,0,0,1,0,0,0,0,2,0,2,0,0
This produces the following nurikabe:
2 | |||
1 | |||
2 | |||
2 |
The shape can be modified by passing the -s
flag followed by WIDTHxHEIGHT
specification.
nurikabe -s 4x3 2,0,0,0,0,0,1,0,0,0,0,1
which produces the following nurikabe:
2 | |||
1 | |||
1 |
Clicking on a cell changes its state and right-clicking marks the cell with a dot. Marked cells are treated as white cells by the checker.
Pressing the space bar checks whether the current puzzle is solved and displays ok or wrong in the left upper corner.
Pressing s
saves the current state in memory and pressing l
loads the last saved state.
q
quits the programm.
Installation
To compile the programm runmake
and move the resulting nurikabe
binary into your $PATH
.
Dependencies
- X11
- freetype2
Where to find nurikabe puzzles
There are a lot of puzzle sites that make nurikabe puzzles available online.
- https://www.fabpedigree.com/nurikabe/
- https://www.logicgamesonline.com/nurikabe/
- https://www.conceptispuzzles.com/index.aspx?uri=puzzle/nurikabe
- https://puzzlemadness.co.uk/nurikabe/
The author of this program does not like the web interfaces for solving these puzzles which lead to the creation of this program. You can always manually or programmatically transcribe the puzzles and feed them to the program.