Author Topic: RNG innerworkings?  (Read 5092 times)

Offline Ninawindia

  • Captain
  • ***
  • Posts: 66
  • Certified cat girl, nya~
    • View Profile
RNG innerworkings?
« on: April 18, 2019, 02:12:31 pm »
Hi, figured this might be the best place to ask. Anyone know how the rng works? As doing certain actions leads to certain things and I'm just genuinely curious as to how this works out/ how they worked it out.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: RNG innerworkings?
« Reply #1 on: April 18, 2019, 04:26:30 pm »
The RNG is just a pseudo-RNG (https://en.wikipedia.org/wiki/Pseudorandom_number_generator)... which means that exactly the same actions on the same starting point will lead to the same results.
But as soon as you have a tiny little difference in actions or starting point somewhere, the result can be completely different.
« Last Edit: April 18, 2019, 04:31:10 pm by Meridian »

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3349
    • View Profile
Re: RNG innerworkings?
« Reply #2 on: April 18, 2019, 05:14:38 pm »
For comparison: https://www.youtube.com/watch?v=pq3x1Jy8pYM
Only caveat is that doom RNG have cycle length of 255 and OXCE have cycle length around millions.
From implementation perspective they are different but from mathematic perspective they are same.