橋をかけろ - A fast Solver for Hashiwokakero Riddles written in C++
The basic usage is as follows
./SolverMain /path/to/input/file /path/to/outputWhere the input file must be one of the following formats:
The plain format is a human-readable format that is pretty intuitive. I generally looks something like this:
1 2
2 3
Where the numbers are the Islands to be connected and the position in the file are the actual coordinates.
The XY Format is far more machine friendly. It's basically a CSV file with the scheme xcoordinate,ycoordinate,requiredbridges and looks something like this:
0,0,1
2,0,2
0,2,2
2,2,3
In both formats lines starting with # are treated as comments and can be completely ignored.