Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
AUmrysh
on March 17, 2014
|
parent
|
context
|
favorite
| on:
Introducing Competitive Multiplayer Programming
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?
schmatz
on March 17, 2014
[–]
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: