π οΈ Section project: the animal race
Section 4: Messages and more than one characterLesson 4.3 Β· β± 10 min
π― Project goal
Robo and the cat race to π. The πΆ block (speed) makes one of them faster.
π€ Robo

- When π© is tapped
- Speed: π fast
- Move right β‘οΈ 14
π± Cat

- When π© is tapped
- Speed: π’ slow
- Move right β‘οΈ 14
π₯οΈ What happens on the stage?
Robo π arrives first, and the cat π’ arrives after him.
π Another example: a three-way race
Three racers at three speeds: π’, πΆ and π. Who arrives first?
π€ Robo

- When π© is tapped
- Speed: πΆ normal
- Move right β‘οΈ 14
π± Cat

- When π© is tapped
- Speed: π fast
- Move right β‘οΈ 14
πΆ Dog

- When π© is tapped
- Speed: π’ slow
- Move right β‘οΈ 14


βοΈ Practise
The race.
βοΈ Practise here in the lessonβ Close the labor open the lab in a new page β
βοΈ Practise
Challenge: a message that goes from Robo to the cat to the dog.
βοΈ Practise here in the lessonβ Close the labor open the lab in a new page β
π― Challenge yourself
Easy
Make Robo the fastest and the cat the slowest.
π Show the solutionπ Hide the solution
π€ Robo

- When π© is tapped
- Speed: π fast
- Move right β‘οΈ 14
π± Cat

- When π© is tapped
- Speed: π’ slow
- Move right β‘οΈ 14

Medium
A countdown: Robo says 3, 2, 1, then sends a message and the race starts.
π Show the solutionπ Hide the solution
π€ Robo

- When π© is tapped
- Say π¬ β3β
- Say π¬ β2β
- Say π¬ β1β
- Send a pink message βοΈ
π± Cat

- When a pink message arrives π©
- Speed: π fast
- Move right β‘οΈ 14
πΆ Dog

- When a pink message arrives π©
- Speed: πΆ normal
- Move right β‘οΈ 14

Hard
The winner says βI won! πβ when he arrives, and the other says βNext time!β.
π Show the solutionπ Hide the solution
π€ Robo

- When π© is tapped
- Speed: π fast
- Move right β‘οΈ 14
- Say π¬ βI won! πβ
π± Cat

- When π© is tapped
- Speed: π’ slow
- Move right β‘οΈ 14
- Say π¬ βNext time!β


