facebookresearch / nle

The NetHack Learning Environment
Other
938 stars 113 forks source link

Question: How does seeding work for NLE? #358

Open dmadeka opened 1 year ago

dmadeka commented 1 year ago

I was looking to dig into the code for how NLE freezes the seed for a game in Nethack:

My current way of hacking the Nethack seed code (say for controlling whether a game occurs on Friday the 13th etc) is here: https://github.com/dmadeka/nle/pull/1

But I was wondering how NLE approached this - or where I could get started to understand!

Thanks!

heiner commented 1 year ago

https://github.com/search?q=repo%3Afacebookresearch%2Fnle%20seed&type=code should give you all the info you need.