Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mgraczyk
on June 30, 2015
|
parent
|
context
|
favorite
| on:
A game whose source code fits in one tweet
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: