introduced figureFactory. refactored SelectorMinigame