Pseudorandom Number Generator

Pseudorandom Number Generator

by -Rex-

πŸ‘ 462 ❀️ 17 ⭐ 11 πŸ”„ 0
Created: Oct 1, 2016 Last modified: Feb 25, 2020 Shared: Oct 1, 2016

Description

Please don't use this PRNG, it's terrible and not even uniformly distributed. Instead, use this: https://scratch.mit.edu/projects/370710866/ INSTRUCTIONS: Type in the minimum and maximum number, then type in the seed. TO USE: The script that generates the pseudorandom numbers should be located at the bottom of the stage. You can backpack it, but make sure to give credit to @-Rex- if you use it. WHY USE THIS?: Scratch's built-in random number block isn't actually truly random, it is pseudorandom, which means it uses a seed (based on the time) and uses a function to convert that seed into numbers that look random, but aren't. This means that if you use the same seed, you will get the same number. However, the built-in random number block doesn't allow you to control the seed, but this custom block does. PLEASE NOTE: This is NOT the best pseudorandom number generation function, it is simply what I came up with when I was bored. INSPIRED BY: https://scratch.mit.edu/projects/122871957/ (which doesn't allow you to enter a seed...)

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

The Ultimate BFDI Band - Battle for Dream Island Seasons 1 - 5 Band (All Contestants and Hosts)

by DLJY_2009

Project thumbnail
View Project

Beat Up Unikitty!! 1.0 (NOT FRINDEST) remix

by jacejimerson18099

Project thumbnail
View Project

Roblox Survival LV 19!MidDUST

by ITX_EXE

Project thumbnail
View Project

ready or not but awesome

by VivianAvaM

Project thumbnail
View Project

Forsaken: Terror Realm(early access)(Jason kinda done)

by Goldust24K_A

Project thumbnail
View Project

PVZ: Remake

by Legoman11144

Project thumbnail
View Project

sprunked final version demo copy copy

by tor85

Project thumbnail
View Project

beat up SteFan444 Remastered 4

by Macjun12

Project thumbnail
View Project

Underfell Toriel fight remix remix

by v-slice

Project thumbnail
View Project

[Undertale] Overworld test

by Allycatwastaken

Project thumbnail
View Project

☁ Minion Mission! // cloud multiplayer scrolling platformer racing game #games#all

by mGR8T

Project thumbnail
View Project

Platformer Creator 2.0!

by JungoJim

Project thumbnail
View Project

>>Quimexus

by Intro_Pentro_creator

Project thumbnail
View Project

Give me an OC and i'll make it as a beat up X button! remix-5 remix

by bartolomai

Project thumbnail
View Project

✯ Donut 2 || A Platformer ✯

by blackdiamond500

Project thumbnail
View Project

Beat Up James The Red Engine remix

by Tommyarmy

Project thumbnail
View Project

Cuphead: The Cyclops in "Rugged Ridge Royale!" (W.I.P)

by NinjaBenM

Project thumbnail
View Project

Santa Tracker for Scratch 2.0

by Dom_Games

Project thumbnail
View Project

【東方PV(???)】パパラ ~εε…­ε€œε’²ε€œver.~

by BlueYTR37

Project thumbnail
View Project

random project i made for no reason GLITCH MAN HELL

by bluesonic45

Project thumbnail
View Project

My version of Macedonian Alphabet Lore

by zach20042013

Project thumbnail
View Project

RBMK Graphite Moderated Nuclear Reactor

by KarlWernerHeisenberg

Project thumbnail
View Project

Numberblocks Band ReTrillion Remastered (1.0mim-10.0on)

by Numberblocksbandddd

Project thumbnail
View Project

Super Sonic Maker

by Art-Sonic