Editing User:Spdskatr
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
**Finished: ALL | **Finished: ALL | ||
*Misc | *Misc | ||
− | **Finished: | + | **Finished: '''Headgear category on hiatus - some items have no individual page.''' |
*Plants | *Plants | ||
**Finished: ALL(Plants don't have mass) (What?) | **Finished: ALL(Plants don't have mass) (What?) | ||
Line 15: | Line 15: | ||
**Finished: ALL | **Finished: ALL | ||
− | == | + | ==Behind the code== |
===RNG=== | ===RNG=== | ||
<div style=text-align:center><b style="font-size:2em">How does [[Template:RNG]] work?</b></div> | <div style=text-align:center><b style="font-size:2em">How does [[Template:RNG]] work?</b></div> | ||
− | |||
− | |||
Technically, the template does not generate ''truly'' random numbers, just numbers random enough so that you won't be able to tell that it is ordered. It works by exploiting the special property of square numbers, such that the last digit can be easily predicted, but the middle digits are statistically random for high values. Therefore, my RNG works by chopping off the last digit of a continuously changing square number (created by the magic word <nowiki>{{REVISIONTIMESTAMP}}</nowiki>), and then mashing the numbers around so the different seeds are unlike, until finally using modulo(<code>mod</code>) to truncate the number within the limits specified. | Technically, the template does not generate ''truly'' random numbers, just numbers random enough so that you won't be able to tell that it is ordered. It works by exploiting the special property of square numbers, such that the last digit can be easily predicted, but the middle digits are statistically random for high values. Therefore, my RNG works by chopping off the last digit of a continuously changing square number (created by the magic word <nowiki>{{REVISIONTIMESTAMP}}</nowiki>), and then mashing the numbers around so the different seeds are unlike, until finally using modulo(<code>mod</code>) to truncate the number within the limits specified. |