Click to shoot.
As you can see, when you kill all the enemies on the screen, no more spawn. Remix this and make it different (example; some enemies have more health than others).