I have a client - server situation where I need to generate maps. Rather than sending the entire map to the client I would simply like to send a set of numbers. The client would use these numbers to generate an identical map.
I need an aglorithm that does not need to generate the entire map before I can use it. I need a simple function that only takes a location, e.g.
getTerrain(x,y);
getVegetation(x,y); // would return an integer representing a plant
I need some help, as I don’t know where to start. Can this be done?