Let’s create a quiz game. You choose the topic.
The purpose of this assignment is to:
1. use an if-else block
2. use variables
3. keep score based on the number of correct answers given.
4. switch backgrounds after each question is answered. This means:
-an intro background
-a background for each question
-a background at the end of the game
Here’s a sample if-else block – click here for a video explanation:

Click here to see an example of your final quiz with exciting narration.
Your quiz should:
1. ask for the player’s name.
2. have at least three questions.
3. award correct answers with a point.
4. if the answer is right tell them!
5. if their answer is wrong, tell them the correct answer.
6. change the background after each question.
7. tell your player their final score using their name.
Variables needed:
name
score