Section 1. Chapitre 2
ninja.js
Ninja Controls
Glissez pour afficher le menu
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
Tâche
Swipe to start coding
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 2
ninja.js
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion