How to predict unknown tiles?
This is a prediction problem. You want a function which takes the known map as input and returns a predicted map. Examination of the map generating functions (core.pas, CreateElevation, CreateMap) reveals that map generation is (more or less) random. This means that the optimal map predictor may only be able to give probabilities for each property of the map. Given the landmass you can predict at least 50% of sea (ocean, shore) vs land tiles correctly. If landmass is greater than 50% predicting that unknown tiles are land will be correct for landmass% of tiles. If landmass is less than 50% predicting that unknown tiles are sea will be correct for 100-landmass% of tiles. In the middle case (landmass=50%) either prediction will be correct for 50% of tiles. If some of the map is known you can adjust the land probability. If the known map includes all of the expected land you can conclude that the unknown regions must be sea. The improvement is proportional to the proportion of the map whi