As of Feb 14 at 10:00 pm, the code runs (tested on windows and unix), but the design needs improvement. However, to help get things working, the code is available now.
You can find it linked here for browsing, but it's on the acpub system for copying in the directory
~ola/cps108/code/battleship
If you copy files, be sure to use the -r option since you must copy subdirectories.
cp -r ~ola/cps108/code/battleship .Altenratively, there's a zipped/tar file in ~ola/cps108/code/battle.tgz. You should copy this .tgz file into your space, then type
tar xvzf battle.tgzto extract the files.
The files for windows can be snarfed via Eclipse using the snarf site www.cs.duke.edu/courses/108/spring04/snarf. If you do snarf be sure you specify the correct directory which is not the default when snarfing. You want to select C:\Program Files\eclipse\workspace\battleship for the project. Please see this link about how to specify the right directory, but you'll be using battleship instead of pixmap as shown in the screen shot on that link.