I'm trying to find the simplest way to end a game with the following conditions:
the game should end when no enemies are left in the world;
there is not a preset number of enemies (you can add as many as you like, so no counters);
there must have been at least one enemy for the game to end.
Thanks for any help.
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)