Robot Route
Write an
algorithm
(a list of steps) to get Bolt the robot to the battery. π€ β π
β‘οΈ β¬οΈ β‘οΈ
Step by Step
Put arrow blocks in order. Watch out for the rocks!
π Γ3
Repeat It
Use a Repeat block (a loop) to make your program shorter.
π¦ β β¬οΈ
If This, Then That
Bolt keeps rolling. Choose what to do IF he lands on a coloured square.
π π§
Bug Hunt
Each program has one mistake. Find the bug and fix it.
Algorithm π
An
algorithm
is a list of steps in the right order. Computers follow the steps
exactly
, even if they are wrong!
Repeat (loop) π
If the same steps happen again and again, put them in a
Repeat
block. Your program gets shorter and easier to read.
Ifβ¦ thenβ¦ π¦
An
if
lets a program make a choice:
IF
something is true,
THEN
do this. This is called
branching
.
Debugging π
A
bug
is a mistake in a program. Run it, watch where it goes wrong, then fix that step. This is
debugging
.
β Games
π
Next level β
Play again
Choose another game