Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Ninja Controls | Basic Controls
Ninja Game Clone

bookNinja Controls

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() and goDown().

  • Sushi Methods:pickSushi() and putSushi().

Example

Here's an example of how you might use these methods to move your ninja and collect sushi:

ninja.js

ninja.js

copy
Compito

Swipe to start coding

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 2
ninja.js

ninja.js

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

Awesome!

Completion rate improved to 3.57

bookNinja Controls

Scorri per mostrare il 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() and goDown().

  • Sushi Methods:pickSushi() and putSushi().

Example

Here's an example of how you might use these methods to move your ninja and collect sushi:

ninja.js

ninja.js

copy
Compito

Swipe to start coding

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

close

Awesome!

Completion rate improved to 3.57
Sezione 1. Capitolo 2
ninja.js

ninja.js

some-alt