Getting a seeded value from a list

Chris Angelico rosuav at gmail.com
Mon Nov 26 21:24:58 CET 2012


On Tue, Nov 27, 2012 at 7:17 AM, Prasad, Ramit
<ramit.prasad at jpmorgan.com> wrote:
> Hmm. I guess most of the games where I remember "regenerating"
> enemies are a bit older. Chrono Trigger had enemies that
> would regenerate if you left a map screen and came back, but
> then again it seems more likely that the enemies were hard
> coded and not "generated" at all. Either that or they [games] are
> like Diablo/Castlevania where monsters are constantly "generated".
>
> I still hold the opinion that the seeding behavior depends on the
> game. I wonder what Nethack does?

I don't know what Nethack does, but I know Angband - I used to
maintain my own variant (never got as far as publishing, though).
Levels are generated completely fresh on first entry; if you go down
to level 2, then down to level 3, then up to level 2, it'll be a
*different* level 2. No seeds get saved.

ChrisA



More information about the Python-list mailing list