Globalizing methods of player.py