Coding Adventure 2: Avoid rocks!

Discover JavaScript

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

JOIN

Description

Oh, Wow! That was great collaboration! I think we need to keep it up. Be extra careful now; don't guide me into any rocks while I am skating. I will need to make hard turns to get to these ball ornaments!

Preview Video

Coding Missions

Let's rotate!

It looks like I need to make a 90 degree turn to the right... Could you figure out what we need to do after that to get to the ball ornament?

Let's print the cell color

Well, this is new! We need to break into the ice to get to the ornaments... We need to print the color of the ice cell at the ornament location.

Take the shortest path

How about some doubles skating? We are going to cruise! Just watch out for those rocks... Find the shortest route.

Hint: Your path shouldn't exceed 12 cells.

Let's draw a letter!

We are almost done collecting all the ornaments. We need to end this adventure by skating another letter on the ice to complete our Christmas wishes for peace in our time.

More rocks

Alright! Mind those rocks now...

Discover JavaScript

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

JOIN
Canada Flag Privacy Policy Terms of Use
Got an invite