A single-player version of the game 'battleships'