total rework of quizgame.c