Essential Question: How can I use a random generator to create a game?
Mastery Objectives:
SWBAT create a message and receive a message before another action can occur.
SWBAT create a list in Scratch.
SWBAT use a random generator to generate responses.
Directions: Create a program with two sprites, one called the seeker and one called the teller. You may choose a sprite through the import option. Choose a background also. The seeker will randomly select a question to ask from a list and the teller will sense that the seeker asked a question and respond by randomly selecting an answer from the list.
Days on Project 1
Do Now: Play the game: https://legomenon.com/ask-magic-8-ball-game-online.html Try to figure out how it works. Ask several questions and see if the answer makes sense.
Requirements:
At least 8 questions in a list called "Questions"
At least 5 answers in a list called "Answers"
Change the background
Create two sprites: seeker and answerer
Use a random generated response for questions and answers
The seeker should broadcast a message to tell the answerer to respond
Code for the Seeker:
Code for the Answerer: