Updated player.py