EZ CLAP I love the concept of having to quickly shoot while her back is turned then fine tune your aim for the next shot! Might want to limit how fast you can shoot especially during the boss fight.
One option is to have the game simply check the last time a shot was fired, and if it hasn't been long enough then ignore the player's input. I'm glad you're getting into programming, it's a great hobby!