Coding Adventure 7: Let's collect some gifts

Decorate the tree from bottom up

Everything from movement through loops, conditions to nested structures in your winter journey

免費加入

描述

Awesome! We have collected a lot of ornaments for the tree. Now we need to collect some gifts to lay them under the tree.

預覽視頻

任務

Let's collect the first gift

We need to print the number of cracked ice patches we skate on to collect each gift. Remember to stay on course - there is broken ice everywhere!

任務細節

More gifts to collect

Now we need to collect the gift by stopping once we have skated on three thin ice patches.

任務細節

Where is the gift?

This is a bit different. Here we need to skate forward and count to three thin ice patches. Then turn right and skate 4 cells to collect the gift.

任務細節

No more than three thin ice patches!

Another mysterious plan! We need to collect a total of 3 gifts by skating 8 cells forward, turning right, and collecting the remaining gifts. We need a counter that aborts our plan once we have skated on 3 thin ice patches.

任務細節

Let's draw another letter!

We need to skate around to collect the last gifts while we write another letter to complete our Christmas wishes.

任務細節

Decorate the tree from bottom up

Everything from movement through loops, conditions to nested structures in your winter journey

免費加入
Canada Flag 隱私政策使 使用條款
Got an invite