Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like this, it reminds me a little bit of corewars. Is there a way to get an enemy's type when programming from the base?


Thanks AUmrysh! If you use `this.getEnemies()` it will return an array of enemy objects, and each one of these objects has a `type` property.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: