The place where you would put the code that creates a character object at the beginning of the game.
What is 'function setup(); {}'?
or
what is the setup function?
function main() {
consolelog(greetings!);
}
main();
function main() {
console.log("Greetings!");
}
main();
The act of taking a subject and breaking it down into its smaller parts or actions.
What is Decomposition?
What is 'console.log("Your Message");'?
The overall player experience during a game.
What is Gameplay?
This happens sixty times every second!
What is how often the draw function is called?
function main() {
console.log(Something is wrong with this program...);
consolelog(Can you find the errors?);
}
What is;
function main() {
console.log("Something is wrong with this program...");
console.log("Can you find the errors?");
}
The steps that you follow to complete a task or solve a problem.
What is an Algorithm?
The code that prints out the phrase "I like to go bird watching" where 'bird watching' is a string variable for a 'hobby'.
what is
let hobby = "bird watching";
console.log("I like to go " + hobby);
These video perspectives share the same points of view from literature.
What is First and Third Person Perspective?
This code is declaring a variable called 'human' that might be used in more than one function.
what is 'let human;'
This was the first ever bug in a computer system, which gave computer errors their name.
What is a moth?
This is the space on the screen where graphics can be displayed and interacted with by users.
What is the canvas?
The command used to create a new canvas.
what is 'new Canvas(00, 00)'?
The limits or abilities that define what a player can or cannot do during a game.
What are Game Mechanics?
Below this function you place a code that is constantly checking to see if the player has pressed a left or right arrow?
What is the draw function?
function draw(); {
let box = new sprite();
box.x = 100
box.y = 100
what is
function setup() {
let box = new Sprite();
box.x = 100
box.y = 100
}
Named after 19th-century mathematician George Boole, this type of variable can hold only one of two possible values; True or Not true.
This dot notation will turn our new sprite 'ball' into a circle.
what is 'ball.diameter = xx'?
or
what is 'ball.radius = xx'?
The pieces or objects that are used to play a game.
What are game components?
This code is how I turn mario into a new sprite!
what is 'let mario = new Sprite();'?
What is 'clear();'?
The ability to recognize and define repeatable steps and find solutions.
What is Pattern Recognition?
This code will change the background of our canvas green!
what is background('green')?
The overall objective or challenge of a game.
What are game elements?