Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chaps
81 days ago
|
parent
|
context
|
favorite
| on:
Making games in Go: 3 months without LLMs vs. 3 da...
> How would you unit test an enemy that spawns, moves towards the player, and attacks?
You use a second enemy that spawns, moves towards the "enemy", and attacks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You use a second enemy that spawns, moves towards the "enemy", and attacks.