White Belt
Yellow Belt
Orange Belt
General
Dojo Rules
100

What function do you use to see if an object is touching something?

isTouching____();

100

What function do you use to check if a key is pressed?

isKeyPressed(Keys.______);

100

What is obj.velocity?

obj.velocity is the speed property of an object

100

What do you need to place at the end of a regular function call (not inside of an if statement)?

Semicolon (;)

100

Can you run in the dojo?

NO!!!

200

True or False: you can use the getMouseX() function to get the Y coordinate of the user's mouse!

False: to get the Y coordinate, you use getMouseY(), not getMouseX()!

200

What is a boolean?

A variable that has a true or false value only.

200

What is a for loop?

A for loop is a loop that executes a body of code a certain number of times.

200

What does GDP stand for?

Game Development Platform

200

Are you allowed to have phones in the dojo?

NO!!!!

300

What function do you use to move an object left or right?

moveX()

300

What does the getPointerPos() function do?

It returns the x and y values of the function

300

What is this code doing? Message is a variable:

message.z(10);

It is making the z value of message 10, ensuring that the variable is on top/higher.

300

What are two different ways to add a value to a variable?

variable = variable + 1;

variable += 1;

300

What are some ways to earn ninja tix?

solve the riddle, win kahoot/blooket, earn 3 stars, stay on task, help another ninja, improve typing speed

400

What is the proper syntax for an if statement?

if(condition) { 

... 

}

400

What is the createTimer() function?

A function that waits a certain amount of milliseconds to execute a different function.
400

How do you create an array?

var variableName = [];

400

What does this evaluate to?

false || true

False

400

How often are you allowed to take a break? For how long?

Once every hour for 10-20 minutes.

500

What are the two parameters of the spin() function?

The object you want to spin and the speed/direction you want it to spin at.

spin(objectName, +-speed);

500

What is frameIndex?

A function that takes a number and changes the image of an object to the image with that number.

500

What is an array?

A data structure holding a bunch of objects in an order with rows and columns.

500

if(num = 3) {

     ....

}

Does this code have an error?

Yes; == instead of =

== is to compare while = is to assign

500

Are you allowed to play video games like Roblox and Minecraft in the dojo?

Not without a sensei's permission!

M
e
n
u