LET Question EQUAL 1 LET SCORE EQUAL 0 GET Answer FROM Answer-Box FUNCTION confirmAnswer() IF Question EQUALS 1 IF Answer EQUALS Red Score EQUALS Score PLUS 1 END IF Question EQUALS Question PLUS 1 REPLACE Question-Box WITH Question2 ELSE IF Question EQUALS 2 IF Answer EQUALS 2025 Score EQUALS Score PLUS 1 END IF Question EQUALS Question PLUS 1 REPLACE Question-Box WITH Question3 ELSE IF Question EQUALS 3 IF Answer EQUALS Green Score EQUALS Score PLUS 1 END IF Question EQUALS Question PLUS 1 STYLE score-display TO block STYLE playAgain TO block END IF END FUNCTION FUNCTION playAgain() Question EQUALS 1 Score EQUALS 0 STYLE score-display TO none STYLE playAgain TO none REPLACE Question-Box WITH Question1 END FUNCTION