Well, I was really bored, so I wrote a quick and dirty terrain generator. It uses some simple recursive methods to generate terrain.
The “mt” refers to the Mersenne Twister psuedo-random number generator. This could be replaced with whatever random number system you want, to get random maps. I prefer it since it has the highest longevity of any psuedo-random number with its performance rating.
Click below to see more generations