Included in this archive are the source code, six puzzles, a progress file for the first puzzle, and an ini file to load the first puzzle in the list.

The instructions for using the program are in the comments at the beginning of the source code.

To see a completed puzzle, load progress through the file menu with the first puzzle file loaded.



To make your own puzzle files, use the following scheme to set ship segments:

Directions up, down, left, and right, are ship "ends." The direction is the flat side, e.g. "up" means the flat side is up, or the ship continues "up" from the piece.

0 for water 
1 for a sub 
2 for right
3 for a ship midsection
4 for left
5 for up
6 for down

The pieces are numbered in order as they appear on the selection line below the playing grid.

For pieces to be displayed when the puzzle loads:
8 is a marker for a visible square, so add 8 to the following pieces to make them visible.
Thus, water to be displayed on loading is 0 + 8 = 8 (water is the 8th piece on the selection line)
A sub is 1 + 8 = 9, so 9 will show a sub on loading the puzzle.
And so on.

Because this puzzle automatically changes unknown segments after they become known by process of elimination, using an unidentified ship segment (number 7) as a segment in a puzzle will allow a solvable puzzle, but the user will never be notified that he has solved it.