Files
wiki/rpg/in-head-pseudorandom-number.md
2021-10-29 14:50:40 -04:00

1.1 KiB

In Head Pseudorandom Number

In Head - Pseudorandom Number Generator

  1. Think of a 2-digit 'seed number'.
  2. Multiple the second digit by 6 and add it to the first number
  3. Use the right-most digit of the new nuber as your random number
  4. Keep going from the previous 2-digit number as long as you need new random numbers.

Example Our seed number is 23. The new number is 2 added to the result of 6 x 3. The result is 20. Our random number is the right-most digit, 0. (I'd take this as 10.)

Our next random number would be 2 + (6 x 0) = 2. From there: 2, 3, 9, 6, 9, 5, etc. If I wanted this to be a d20, I'd add 10 if the first digit is odd. The 2-digit number's range is 1 - 59, so the first digit makes a pretty good d6.

D12: Use the first digit, add 6 if the second is odd. D4: Get a D12 result, divide by 4 and use the remainder. D8: Use the process for a D4, then generate another random number. If it's odd, add 4 to your D4 result. The extra steps for these two are both annoying enough that I probably won't use them.

link