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

Set the random number seed #87

Merged
merged 1 commit into from
Oct 31, 2022
Merged

Set the random number seed #87

merged 1 commit into from
Oct 31, 2022

Conversation

microbit-matt-hillsdon
Copy link
Contributor

It's used in a non-crypto safe RNG in MicroPython so just seed it with a Math.random-derived value.

Closes #85

It's used in a non-crypto safe RNG in MicroPython so just seed it with a
Math.random-derived value.

Closes #85
@netlify
Copy link

netlify bot commented Oct 31, 2022

Deploy Preview for distracted-dubinsky-fd8a42 ready!

Name Link
🔨 Latest commit 09aebd0
🔍 Latest deploy log https://app.netlify.com/sites/distracted-dubinsky-fd8a42/deploys/635fb0fd23d0fd000927cdd8
😎 Deploy Preview https://deploy-preview-87--distracted-dubinsky-fd8a42.netlify.app/demo
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@microbit-matt-hillsdon microbit-matt-hillsdon changed the title Set the random number seed. Set the random number seed Oct 31, 2022
Copy link
Collaborator

@microbit-carlos microbit-carlos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random number seed is always the same on the simulator
2 participants