Coding Adventure 4: Be careful with the holes and puddles of mud!

Let's go find treasures in the forest!

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

免费加入

描述

Wow! When we finish this adventure, we will be half of the way! It is time to identify all the perils of the path. I know we can do it!

预览视频

任务

How many puddles of mud?

The plan is to move one step forward and print the numbers of mud cells we move through to find the coconut!

How many holes and how many puddles of mud are there?

We have to move forward and count the different types of perils. In the end, print the number of perils you found.

Are there more holes or puddles of mud?

Well, now we have to get the coconut. We have to count the puddles of mud and the holes, but wait! We have to use the type of the hole if the number of holes is higher than the number of puddles of mud. Otherweise, we have to use the type of the puddles of mud.

Where is the food?

We have to get the coconut and count how many holes and puddles of mud we find along the way. If we find more holes than puddles of mud, we will need to turn right to get the coconut. Otherwise, we will move to the left to collect it.

Let's draw another letter!

As was done before, when we get to the end of an adventure, we need to go around to collect food while we draw another letter on the ground so our friends know where we have been.

Let's go find treasures in the forest!

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

免费加入
Canada Flag 隐私政策使 使用条款
Got an invite