The only thing that comes to mind is making `player` a global variable.