The game of battleships