Re:A game whose source code fits in one tweet
by mgraczyk on Monday June 29, 2015 @11:37PM
(#9802784)
Increment global state variable, add it to e, which is the number of milliseconds the game has been running modulo 300. Then set the margin size to that value. It's a simple pseudo-pseudorandom number generator.
[ Parent
| on HN ]
There are no comments on this comment yet.