}
// reorder sequence
// extract method
public static void play(Random rand) {
Game aGame = new Game();
aGame.addPlayer("Chet");
aGame.addPlayer("Pat");
aGame.addPlayer("Sue");
do {
int diceCast = rand.nextInt(5) + 1;
aGame.moveCurrentPlayerWith(diceCast);
boolean correctAnswer = rand.nextInt(9) != 7;
if (correctAnswer) {
notAWinner = aGame.currentPlayerGaveCorrectAnswer();
} else {
notAWinner = aGame.currentPlayerGaveWrongAnswer();
}
} while (notAWinner);
}