Stupid question, but I'm not good at math...
id: 751707
category: Help with Scripts
posts: 3
Apr 1, 2024 16:09:08
Stupid question, but I'm not good at math...
view on scratch
view on legacy ocular
antisociaIite
loading
So, uh, I run the rolling project for Generations rpg! ( https://scratch.mit.edu/projects/930206390/ ) Just a simple thing where people can ask me the outcome of what should happen in a roleplay, and I decide using a random number generator, of that makes sense? Sort of like in Dungeons And Dragons if you know haha
Something I thought would be fun while setting it up was to make the decorative d20 in the corner a functional random number generator. It worked something like this:
This function was later removed because someone got confused.
I got this comment today, and maybe I'm stupid, but this doesn't feel too unfair to me? There are still 20 possible outcomes no matter where you start, and they are still 50/50 as far as I can tell. I guess it doesn't matter anyway, because I don't use that too often anymore
Something I thought would be fun while setting it up was to make the decorative d20 in the corner a functional random number generator. It worked something like this:
repeat ( pick random 1 to 20 )There were 20 costumes, with costume 1 being showing a 20 and costume 20 showing a 1
next costume
end
This function was later removed because someone got confused.
I got this comment today, and maybe I'm stupid, but this doesn't feel too unfair to me? There are still 20 possible outcomes no matter where you start, and they are still 50/50 as far as I can tell. I guess it doesn't matter anyway, because I don't use that too often anymore
Apr 1, 2024 16:48:41
Stupid question, but I'm not good at math...
view on scratch
view on legacy ocular
Wolf_Link21
loading
it is random
Apr 1, 2024 17:53:22
Stupid question, but I'm not good at math...
view on scratch
view on legacy ocular
deck26
loading
Shouldn't be a problem as you say, as long as each costume has an equal chance of being selected - so if you have 20 costumes and choose a random number using pick random 1 to n and n is a multiple of 20 it is fair and doesn't matter where you start from.