Update BaseGame.py

Finish fixing some while/if conversions, hopefully will give performance benefits