Fixed game.py function