it appears that my pygame is lagging (due to my hardware not being strong enough) or there is a logic gap in my code. Please kindly help me.
Code that controls the behavi