Script

int numQuestions = 11;

String[] actors = {"Alice", Barbara, Collin, Greyory, Jingrong, Joyce C, Joyce H, Kailah, Minjia, Ruiling, Wenxi};

String host = "Joyce H";

Script() {

for (String actor : actors) {

actor.drawQuestion();

}


int timer = 0;


while (timer < 45 sec) {

for (String actor : actors) {

actor.answerQuestion();

}

timer++;

}


host.collectQuestions();


host.distributeQuestionsRandomly;


for (String actor : actors) {

actor.readQuestionAndAnswer();

}

}