Question about the code

I did the challenge and this is what I came up with:


Is this technically also correct and wouldn’t cause any unforeseen issues? In my mind it just made more sense to plug it in after the gun fired.

Second question, for me the counter goes below zero but the gun doesn’t fire, is there a max range that can be set or something?

Actually nevermind, putting the code in that place allows the counter to go below zero. Leaving this here if someone else is thinking about this!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms