Conteúdo do Curso
Ninja Game
Ninja Game
If-Else Statements Practice. Clear the Storage
Your task is to help our ninja clear out all the sushi from a cluttered storage room. The storage room is a grid filled with sushi pieces scattered around, and it's your job to collect them all.
Swipe to show code editor
Goal: Collect all sushi
Use if-else statements to check the surroundings and decide the ninja's actions
Solução
Starter Map
Obrigado pelo seu feedback!
ninja.js
index.html
preset.js
If-Else Statements Practice. Clear the Storage
Your task is to help our ninja clear out all the sushi from a cluttered storage room. The storage room is a grid filled with sushi pieces scattered around, and it's your job to collect them all.
Swipe to show code editor
Goal: Collect all sushi
Use if-else statements to check the surroundings and decide the ninja's actions
Solução
Starter Map
Obrigado pelo seu feedback!