Dance, Dance, EV3lution
Level: Beginner to Intermediate
Make a game with the EV3 brick. No motors or sensors, just the brick with it's buttons, screen, and sounds.
The tasks below will help you accomplish them. Below each task are videos to help you accomplish that task.
Roll the Dice
Task 1
Your Goal
Display a random number on the screen.
The number needs to be displayed long enough for the user to see.
Continue rolling random numbers until we push a brick button (other than cancel) to interrupt the program.
Random Sounds
Your Goal
Build on Roll the Dice
Play a sound based on the random number rolled
Task 2
User Input
Your Goal
Use the random number to determine which button to push
Show user which button to press
Wait for user to press the correct button
Task 3
Owning Code
Your Goal
Comment your code - remind yourself, and others, what’s going on
Turn the switch into a MyBlock with one input for the dice roll
Task 4
Error!
Your Goal
Detect if a user presses the wrong key
Let them know they were wrong
Wait for user to press the right key
Task 5
Keeping Score
Your Goal
Put a time limit on the game
Keep track of the number of correct key presses
Track the number of errors
Display results at the end if the game
Task 6
Choose YOUR Adventure
Your Goal
Let your imagination roam free and build your own game!
Use what you learned in this project, and all of the videos above, to build your own game. The possibilities are endless.
I'm excited to see what you come up with.
Task 7