A Java Swing-based game of battleship.