Coding game: catching coins and avoiding bombs

I see. Did you implement that the games stops when the lives hit 0?

In which line or function is it?

processing won’t do this automatically, you know.