Please download the map generator and use it to make cool things or just study/improve the mechanics. You could make a game which randomly spawns npcs, monsters, and treasure around the land. You could make character movement speed change depending on the type of terrain the character is walking on. Add mountains and allow flying creatures to cross them faster than walking ones. The possibilities are endless :). The map generator is a bit slow. Depending on your computer, it may take a while to generate new maps. You can also make larger maps by decreasing the tile size. However, this will dramatically increase the generation time. Much of the code in the map generator is commented. Have fun and let me know what you think!
THIS IS NOT AT ALL READY. NOT AT ALL. COME BACK IN A HUNDRED YEARS.