Alexa Metrics

Coding Adventure 3: Let's collect candy canes

Decorate the tree from bottom up

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

免費加入

描述

Awesome! I can't get enough of this! How about we start collecting some candy canes?

預覽視頻

任務

Watch out! Cracked ice!

Here we go! Let's pick up that red candy cane. I need to go one step forward and stop if the ice starts cracking!

任務細節

Check for cracked ice

Alright! watch out now! We need to check if the ice is cracked or not. If the ice is not cracked, then we can skate forward to pick up the candy cane. If the ice is cracked, we need to make a right turn to pick up the candy cane.

任務細節

Red candy cane at the center

Now, we need to plan well! If the ice is not thin, we will get the candy cane on the right. Otherwise, we will get the candy cane on the left.

任務細節

Where is the green candy cane?

Here is our next move: We take one step forward and check the ice. If the ice is thin the candy cane will be to the left. If the ice is cracked, then the candy cane will be to the right. Wait! We are not done yet! If the ice is neither thin nor cracked, then it will be two steps behind us.

任務細節

Let's draw another letter!

There is one last thing to do on this adventure. We need to skate around to collect the last of the red candy canes while writing another letter on the ice 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