Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Yare.io – Kill all enemy cats. With JavaScript..
In the demo, it it possible to end the game instantly, if my bot has a bug the easy enemy model takes too long to win.
I guess you have to add collisions. Otherwise the best strategy is probably to stack all the cats in the same position and get a x9 death ray.
enemies.sort((a,b) => {1})
enemies.sort((a,b) => {-1}) ?
In the demo, it it possible to end the game instantly, if my bot has a bug the easy enemy model takes too long to win.
I guess you have to add collisions. Otherwise the best strategy is probably to stack all the cats in the same position and get a x9 death ray.