News for hackers. Stuff that matters.
Re:Show HN: Yare.io – Kill all enemy cats. With JavaScript. by deep1283 on Wednesday March 04, 2026 @07:25AM (#47246487)
its a pretty interesting game
Re:Show HN: Yare.io – Kill all enemy cats. With JavaScript. by gus_massa on Wednesday March 04, 2026 @12:04PM (#47250495)
Is it possible to hide the editor to see the cats?

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.

Re:Show HN: Yare.io – Kill all enemy cats. With JavaScript. by gus_massa on Wednesday March 04, 2026 @09:44PM (#47256853)
Is array.sort working? In particular

  enemies.sort((a,b) => {1})
or

  enemies.sort((a,b) => {-1})

?
Re:Show HN: Yare.io – Kill all enemy cats. With JavaScript. by kartika848484 on Wednesday March 04, 2026 @07:45PM (#47256053)
is this peta approved