Author

Topic: CRYPTOWARE.CO.UK - Twin Furies (Read 1196 times)

brand new
Activity: 0
Merit: 0
December 27, 2020, 11:19:26 PM
#2
With discrete random variables, you can ask questions about absolute probabilities, like whats the probability that I get a 4 in the next roll? Or, if your opponent rolls the die, and gets a 3 and its your turn to attack, you might wonder whats the probability of getting a value higher than 3?
brand new
Activity: 0
Merit: 0
December 28, 2020, 10:47:11 AM
#2
This is a rather long clause, but Ill try to explain it. If the random number between 0 and 100 falls within the disasterChance range (for us, that is 10%), then a disaster is initiated. We generate a random number to figure out how much damage well do. Itll fall between 5% and 20%. Well multiply this by the length of the people dictionary to get a 520% slice of the population. Well then cut that slice out (effectively killing 520% of our population).
hero member
Activity: 898
Merit: 1000
March 21, 2014, 07:06:38 AM
#1
Please ignore this thread, I've started a different one.

Mods please delete this, thanks.
Jump to: