Y
Hacker News
new
|
ask
|
show
|
jobs
by
always_good
3160 days ago
Another idea is to return a map of actions.
{ jump: true, move: 4, shoot: true }
Making the user increment a nonce and use the remainder operator just to do multiple actions simultaneously is pretty heavy.