Sprites that interact
Answers are for parents and teachers.
1
Play the leader and follower game with someone at home. Then write the follower’s algorithm in 4 or 5 numbered steps.
The steps should include: when the game starts, repeat, point towards (face) the leader, glide (walk) to the leader.
2
Draw three sprites on paper (they can be animals). Draw an arrow between each pair and write the message on each arrow.
Two arrows and two message names, for example sprite 1 sends go to sprite 2 and sprite 2 sends next to sprite 3.
3
A script takes 8 repeats of a 3-second glide. How long does it take? Explain your sum to a grown-up.
8 × 3 = 24 seconds.
4
Write two sentences to explain to a friend why a sprite might wait for a message.
For example: sprites take turns, so a sprite waits for its message from another sprite before it starts its own script.
5
(if you have a computer or tablet) Build a two-sprite program in which one sprite follows the other. Does it work the way you traced it?
Any working leader and follower with point towards and glide. The child should compare the real time with their sum.