Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Power Surge – optimize the JavaScript in this HTML5 game.
I spent a while tweaking the code to get more CPU cycles, but after a while tired of mining the asteroids manually, so I just got rid of them:
ENGINE.Game.spawnAsteroid = function () {}
SHIP_CPU_COST = 0.001;
There are no comments on this comment yet.
I spent a while tweaking the code to get more CPU cycles, but after a while tired of mining the asteroids manually, so I just got rid of them:
After that the next logical step was to give myself more ships: Of course, it's a lot more interesting (and challenging!) to actually play by the rules.