Avsnitt 1. Kapitel 2
ninja.js
Ninja Controls
Svep för att visa menyn
In this chapter, you'll get more practice with controlling your ninja.
Recap of Ninja Methods
Here's a quick reminder of the methods you can use to control your ninja:
-
Movement Methods:
goRight(),goLeft(),goUp()andgoDown(). -
Sushi Methods:
pickSushi()andputSushi().
Example
Here's an example of how you might use these methods to move your ninja and collect sushi:
ninja.js
Uppgift
Swipe to start coding
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 2
ninja.js
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal