Show HN: Yare.io – Kill all enemy cats. With JavaScript.
yare.ioA deceptively simple game of 9 vs. 9 cats. Your actions are limited to moving and shooting, but 'how' you move your units and when or which cat you shoot can be difficult to decide.
You can play against the prepared bots, or against other 'human' players in real-time matches. 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. Is array.sort working? In particular its a pretty interesting game is this peta approved
or enemies.sort((a,b) => {1})
enemies.sort((a,b) => {-1})
?