Jump to content

Central Dynamo: Difference between revisions

Whiskers (talk | contribs)
Whiskers (talk | contribs)
No edit summary
Line 7: Line 7:


=== How the RNG works ===
=== How the RNG works ===
There are 300 different mazes. While the game could produce mazes using any seed outside of these 300 (4 billion+), the game picks exclusively from this list of 300 only.<br><br>
There are 300 different mazes. While the game could produce mazes using any seed outside of these 300 (4 billion+), the game picks exclusively from this list of 300 only.
 
<br><br>
This is how the Maze is generated for this fight:<br><br>
This is how the Maze is generated for this fight:
 
<br><br>
1. A random unsigned 16-bit integer is generated.<br>
1. A random unsigned 16-bit integer is generated.<br>
2. The modulo 100 of this number is taken.<br>
2. The modulo 100 of this number is taken.<br>
Line 16: Line 16:
3. A Maze is created using the seed.<br>
3. A Maze is created using the seed.<br>
4. Three electrical gates and two water bomb pools are generated into the maze.  
4. Three electrical gates and two water bomb pools are generated into the maze.  
 
<br><br>
This results in roughly a 1/300, however because of using a modulous operation to pick the seed, this gives the first 135 seeds a 1/65536 (~.46%) greater chance of happening than the remaining 165 seeds.
This results in roughly a 1/300, however because of using a modulous operation to pick the seed, this gives the first 135 seeds a 1/65536 (~.46%) greater chance of happening than the remaining 165 seeds.