Cutting duplicated methods in player.py