Battleship puzzle