Alexa Metrics

Coding Adventure 2: Avoid rocks!

Discover JavaScript

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

免費加入

描述

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!

預覽視頻

任務

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?

More rocks

Alright! Mind those rocks now...

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.

Discover JavaScript

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

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