Scoring is pretty straightforward:
- Declare a variable which I've chosen to call score
- To keep the Do_a_Frame function small and easy to comprehend, I've put the code necessary to display the score in a function I've chosen to name ShowScore
- In the Do_a_Frame function, we call ShowScore every time we paint a frame
- Finally, when a bat goes off the screen and we delete it from the bats array, we also make the score increase