ScratchData LogoScratchData
Back to redstonelasher2010's profile

Another weighted RNG example

REredstonelasher2010•Created August 30, 2020
Another weighted RNG example
3
0
12 views
View on Scratch

Description

This weighted random number generator (WRNG for short) displays the contents of a hypothetical chest with randomly chosen loot. However, to balance it out, there is a "weight" on the things you can get. This basically means it is more difficult to get the better stuff. Also, there is RNG on the chest size, which is biased towards a larger chest, meaning you'll get more bad stuff instead of less good stuff. (does that make any sense lol) Feel free to use this with credit. Luckiest item: the king's sword Theoretically largest chest size: 16 items. Yeah, not much.

Project Details

Project ID421364865
CreatedAugust 30, 2020
Last ModifiedAugust 30, 2020
SharedAugust 30, 2020
Visibilityvisible
CommentsAllowed