moved input hooks from player to game to fix #9