fixed a syntax issue in game.py