The origin of mini-games in video games