working version of battleship