264,122 views
21 votes
21 votes
You are building a game that needs to do the following:

•Make the player unable to cross walls of yellow blocks

•Make the player "faint" and start
over if it touches a red block

•Make the player win if it touches a green block

Which three modules would you need to use?

A. An "if () then" block that outputs movement to the initial position if
the sprite touches a red block.

B. An "if () then" block that outputs a small change in position if the
sprite touches a yellow block, one for each direction

C. A "forever" block that outputs different messages in sequence as
the player navigates

D. An "if () then" block that outputs a happy sound
the sprite touches a green block
and message if the spirit touches a green block

User Monu Kumar
by
2.8k points

1 Answer

18 votes
18 votes
green block and the red block
User Anpsmn
by
2.8k points