$ ./guess_the_languageGame Dev
Game Dev · hard · #7

What happens when this condition is true?

if (enemy.health <= 0) destroy(enemy);
  1. The enemy is removed
  2. The enemy becomes stronger
  3. The enemy respawns immediately
  4. The enemy is invincible
If health is zero or less, the enemy object is typically destroyed.
Play Game Dev ▸