updated game.py