Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » My RNG based program is giving biased results.
- Pat-T-Appat
- Scratcher
2 posts
My RNG based program is giving biased results.
My project: https://scratch.mit.edu/projects/564282623/editor is giving me 100% Unlucky results on different browser instances. If L=Lucky and U=Unlucky it would look something like this: U L L U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U is it my browser or my program? BTW I've been on scratch since 2.0 and am not just so new scratcher working on their first project.
Last edited by Pat-T-Appat (Aug. 27, 2021 22:04:54)
- orangetheory
- Scratcher
500+ posts
My RNG based program is giving biased results.
https://scratch.mit.edu/projects/564282623/editor is giving me 100% Unlucky results on different browser instances. If L=Lucky and U=Unlucky it would look something like this: U L L U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U U is it my browser or my program? BTW I've been on scratch since 2.0 and am not just so new scratcher working on their first project.share the project first so we could diagnose the issue. I'm getting a 404 error meaning your project isn't shared. My project:
-Frisbee- -Cricket--Basketball--Forums--Mapping--Coding--Trigonometry master--Mathematics King--Future Prime Minister--Intro-Maker-
I know HTML/CSS, and JavaScript, and with these coding skills I have made some decent projects! Test them out below!
~Archery~Cops + Robbers~
Want an intro, outro, music, effects, or more? Check out the intro shop!
The forum helpers, a place where we help people in the forums
- Thingied
- Scratcher
1000+ posts
My RNG based program is giving biased results.
share the project first so we could diagnose the issue. I'm getting a 404 error meaning your project isn't shared.https://turbowarp.org/564282623/editor
- orangetheory
- Scratcher
500+ posts
My RNG based program is giving biased results.
If you are joining the values like this:
Then it would be wrong. Instead, try making a new variables and joining the values in that.
The variables above are examples. Replace the variables with your own.
set [score v] to (join (score) (score to beat))
Then it would be wrong. Instead, try making a new variables and joining the values in that.
set [Joined Values v] to (join (score) (score to beat))
The variables above are examples. Replace the variables with your own.
-Frisbee- -Cricket--Basketball--Forums--Mapping--Coding--Trigonometry master--Mathematics King--Future Prime Minister--Intro-Maker-
I know HTML/CSS, and JavaScript, and with these coding skills I have made some decent projects! Test them out below!
~Archery~Cops + Robbers~
Want an intro, outro, music, effects, or more? Check out the intro shop!
The forum helpers, a place where we help people in the forums
- Discussion Forums
- » Help with Scripts
- » My RNG based program is giving biased results.