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

Add a method to randomize the initial RAM #67

Open
zer0x64 opened this issue Jul 6, 2021 · 0 comments
Open

Add a method to randomize the initial RAM #67

zer0x64 opened this issue Jul 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@zer0x64
Copy link
Owner

zer0x64 commented Jul 6, 2021

Multiple games uses the initial RAM content to seed their RNGs. We should allow to randomize the content of the RAM.

There are multiple ways to do it. We could add rand as a default feature and randomize the RAM when created if the feature is present, or add a randomize_ram() method on the emulator that takes a Rng as an argument. We need to make sure that this does not break portability however.

@zer0x64 zer0x64 added the enhancement New feature or request label Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant