
Been working on this for some time now and it can hardly be called finished to be honest. However, it's got all the button logic working for the one puzzle it currently has hard-coded into it.
For an explanation on this game see
here.
I decided to make it as my first complete Java game since it seemed fairly feasible given my skill set. Also, I really enjoy the game and I found there weren't many implementations available online.
Latest VersionGame can be executed with (once loaded press F1 for help):
6 July 2013Implemented keyboard control. The selected tile will have a yellow border around it. You can trigger its state with the SPACE key. Select any of the tiles on the board using the arrow keys. To flood fill a row or column use the key combinations Alt + Left/Right or Alt + Up/Down, respectively.
10 July 2013Had a problem in Arch Linux where the hotspot of the default Xorg cursor was shifted by (+1, +1), resulting in problems when determining cursor position over a tile. Solved the discrepancy by implementing a custom Cursor object.
11 July 2013Added a panel on the left that shows the ships and their quantities for the given puzzle.
20 July 2013The left panel no longer solely indicates which ships are being searched for. Rather when a vessel is located it will gray out the respective vessel on the left panel. This is not to say that it also indicates that the vessel's location is correct. It solely indicates whether the player has located a ship of that length somewhere on the board.
25 July 2013Seamless changes to improve performance and code modularity.
4 Aug 2013Implemented a Save/Load function to facilitate the user's ability to arrive at the puzzle's solution thereby eliminating starting from scratch. The Help Dialog now includes a tab labeled
Solution where a solved image of the puzzle appears.
8 Aug 2013Expanded on the Save function to display a small image of the previously saved board on the left panel. Also added a timer to keep track of solution time.