And all of this on a Commodore-64 with around 30K of RAM, thanks to procedural generation of the galaxies.
I am, deep down, quite lazy. I have no interest in manually placing several hundred villages made up of dozens of buildings and scores of NPCS. I am, however, interested in having those things in my game. And as a developer I like having the possibility of something surprising, if not actually emergent, in my game. Thus the procedural generation.
In order to have a good random-seeming distribution of towns, caves, etc., I next needed a way of generating repeatable random-seeming numbers. The built-in random functions of most computer languages do not allow for the use of seeds, so the results are not repeatable - or at least, not repeatable in any useful way. Fortunately I am not the first person to have come up with this idea.
So: the first piece of code in Shank's Pony is the Mersenne Twister class, which I translated into Actionscript2.0 from a version written in C. All tests so far indicate that it is working exactly as I had hoped.
Next: Using modulus and seeds based on the Mersenne Twister to create procedural towns and dungeons.