Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetHack PRNG Seed #3

Open
apowers313 opened this issue Nov 7, 2020 · 1 comment
Open

NetHack PRNG Seed #3

apowers313 opened this issue Nov 7, 2020 · 1 comment

Comments

@apowers313
Copy link
Owner

Pass in an argument to libnh to set the PRNG seed so that runs become deterministic and predictable.

@apowers313
Copy link
Owner Author

process_options and sys_random_seed in libnhmain.c

rn2 is defined in rnd.c and Rand is defined in unixconf.h

@apowers313 apowers313 transferred this issue from apowers313/nhai Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant