Quiz Game

Learning Objective:  Write a program that collects user responses to different prompts, uses Boolean operators to take different actions if the response is correct or not, accumulates a summary evaluation score, and provides feedback on user performance.

SLE: Think critically and solve problems

Assignment Requirements:

Make a game where the goal is to correctly answer a series of multiple-choice questions.  Provide feedback and keep a score of the number of correct answers.  At the end, tell the player how they did.

Choose questions that reflect your interests and creativity.  Use your imagination to come up with encouraging messages for the player when they answer a question correctly.  Use animations, custom sprites, and sound effects to make your game more interesting and engaging.

There is a video tutorial showing how to complete this assignment.  Please watch it if you are having trouble getting started or are stuck.  There is also a simple starter project template which you can use to get started.  Open it and click the “Remix” button to make your own version of it.  Be sure to change everything indicated in the project description.


Things you need to be aware of:

Use multiple choice a, b, c, d answers to keep it simple.

Use the sprite costume editor to create your questions and lists of possible answers.  Use the Text tool to type your questions and answers for display as the sprite’s costume.  Use the “show/hide” and “switch costume” blocks to display the question and answers at the appropriate time in your program.

Information such as a score is set in variables, defined under the Data blocks

“Initialization” is important:  be sure the correct answers are shown or hidden at the right times for your game to make sense.

Use the “ask” block under “sensing” to ask questions.  The answer to the most recently asked question is stored in a special automatic variable called “answer”

Use the orange if/else control blocks with green Boolean operator blocks (such as the “does this equal that” block) to check the answer, change the score, and provide feedback on correct or incorrect answers.

Minimum Requirements

You must ask at least four multiple choice questions.  Each question must have at least four answers to choose from.

After each question is answered, you must tell the player if they were correct or incorrect.

You must keep a score of correct answers

At the end of the game you must provide different feedback to the player for a high score and a low score.

Exceeding Expectations

Meeting the bare requirements makes for a pretty basic game.

All projects exceeding expectations demonstrate have a consistent theme in which each sprite and all text support the theme and rewards the user for engaging with your project.  Correct spelling, grammar, and providing instructions are expected of a project which exceeds expectations.  A project which exceeds expectations does not frustrate, confuse, punish, or insult the user but rather it is fun and a source of delight that encourages continued exploration and use.

To exceed expectations, implement some of the following suggested enhancements:

Animations:  Use costume changes and/or additional sprites to give your game more character.

Sound:  Spice it up with some sound.  Add appropriate music to play during the game and sound effects for correct vs. incorrect answers.  Play a special song at the end.

Scramble it up!:  Make the questions appear in random order.  Make the answers appear in random order.

Your Great Idea:  Dream up a neat spin on the project and get it approved.