Project before this: https://scratch.mit.edu/projects/1368653174/ After creating "Pick Random without Pick Random," I realized that it isn't really true "Pick Random." It uses a preset formula and a preset seed, so it was very easy to predict. So, after a suggestion by @coolcop43 (tysm!) i present to you... TRUE "PICK RANDOM" WITHOUT "PICK RANDOM" This is also backpackable if you want to use this in one of your own projects. NO ADVERTISING if you see an ad, don't hesitate to report it
WARNING - The higher your maximum is, the longer it will take to pick a random number, and the laggier it is. Do NOT try a large number (over the 256-bit integer) without using Turbo Mode How does this project work, and why is it "true?" - This project uses a PRNG (Pseudo-Random Number Generator) to generate a random number that is then converted to a single binary bit. It does this however many times it needs to to get a finished binary number under the maximum and over the minimum (range). If it is, coincidentally, over or under the range (for instance, a range of 1-100 would need 7 bits, and that would be 128. you might get 101 or 123 or 114, and that would not be n the range), it clears out the binary number saved and re-rolls more binary numbers. Because of this re-rolling, the "True Pick Random" takes more time the larger the range is. This is "true pick random" and not just "pick random" because every time it generates a pseudo-random number, it has an equal chance of being odd or even (a bit of 1 or 0). This ensures every single number gets a chance at being the one picked, and makes this random number generator "truly random." For those of you computer whizes and nerds still questioning the "true randomness" of this, then you are correct - this is not truly random. It isn't a TRNG (true random number generator) and is instead a better version of a PRNG (pseudo-random number generator). The only way to get a TRNG in Scratch is to use a Scratchattach server to get rapidly changing data such as weather and atmospheric circumstances or radioactive decay. I encourage one of you to try to do this, and see if you can make a TRNG in Scratch. Also, if you really want to see this PRNG in action, use the 256-bit integer as a maximum and 0 as a minimum: 115792089237316195423570985008687907853269984665640564039457584007913129639936