انتقل للمحتوى
Robo EgyptRobo Egypt
☰ Course contents
Robo Block: home
0. Lab tour1
1. Getting started5
2. Motion5
3. Looks and sound5
4. Events4
5. Loops5
6. Conditions and sensing4
7. Variables and randomness4
8. Project: the “Catch Robo” game3
9. Messages: characters talk to each other4
10. Clones: one character, many copies4
11. My Blocks: make a new block3
12. Operators and time4
13. The pro project: a jumping game4

Practice questions

Section 6: Conditions and sensingLesson 6.4 · ⏱ 8 min
  1. Make a “hot floor”: if Robo touches the edge he goes back to the middle and says Try again!
  2. Control Robo with the arrows inside forever, and make the space key make him jump.

Test yourself

1. What does if do when the answer to its question is “no”?
2. Why do we put if inside forever?
Finished the lesson? Mark it so your progress counts.