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.