Practice. Pick and Move to the Sushi Center of the Box
In this chapter, you'll get tasked with picking up sushi and moving it to a designated spot.
Let's quickly recap the methods you'll be using:
pickSushi()
: This method allows the ninja to pick up sushi from the current cell and add it to the inventory.putSushi()
: This method enables the ninja to place sushi from the inventory onto the current cell.
Here's an example of how you might move a ninja to pick up a sushi and place it in a new location:
ninja.js
Taak
Swipe to start coding
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 3
ninja.js
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 3.57
Practice. Pick and Move to the Sushi Center of the Box
Veeg om het menu te tonen
In this chapter, you'll get tasked with picking up sushi and moving it to a designated spot.
Let's quickly recap the methods you'll be using:
pickSushi()
: This method allows the ninja to pick up sushi from the current cell and add it to the inventory.putSushi()
: This method enables the ninja to place sushi from the inventory onto the current cell.
Here's an example of how you might move a ninja to pick up a sushi and place it in a new location:
ninja.js
Taak
Swipe to start coding
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Awesome!
Completion rate improved to 3.57Sectie 1. Hoofdstuk 3
ninja.js