Refactor player to accept pattern to play