Loading...
Technology Olympics
What are they?
Ranking
Sign in
Profile
Sign out
Go back
Introduction
Avatar selection
Instructions
Tell us about yourself
Module 1
Challenge
Module 2
Challenge
Extra challenge
Bonus
Module 3
Challenge
Extra challenge
Module 4
Challenge
Extra challenge
Module 5
Challenge
Extra challenge
Module 6
Challenge
Extra challenge
Module 7
Challenge
Extra challenge
Module 8
Challenge
Extra challenge
Module 9
Challenge
Module 10
What next?
Final challenge
Module 9
Challenge
1 min
CHALLENGE 9 - Variables, conditionals… all at the same time!
You have already answered the survey associated with this module
What is a conditional?
*
An instruction that obliges us to do something.
An instruction that leads us down one path or another depending on a situation or condition.
A cool robot built by NASA 20 years ago that observed the Moon.
We want to control that when the ball touches the life bar it takes a life and when it reaches 0 lives it indicates that it has lost the game. Which Scratch instructions are in charge of this control?
*
In the code of the life-taking bar, we should add:
In the ball code, we should add:
In the paddle code, we should add:
We want to set 3 levels of difficulty in our video game. The difficulty increases to level 2 if the player has between 50 and 100 points. When the player exceeds 100 points, the difficulty level will increase to number 3. What would be the most correct way to do this?
*
A
B
Already? Brilliant! Review your answers before submitting them. Once you click the “Submit” button, you will not be able to modify them!
No rellenar *
Send
Great, now let's move on to the next module
Previous
Next
Communicate with your coach