Framework for minigames