Interactive Games and Animations
A simplified representation of something more complex. Abstractions allow you to hide details to help you manage complexity, focus on relevant concepts, and reason about problems at a higher level.
Boolean operation: only evaluates to true when both of the operands are true
A series of images that create the illusion of motion by being shown rapidly one after the other.
a value passed to a function when the function is called.
changes the value that is held in a variable
A single value of either TRUE or FALSE.
Branch of mathematics and logic dedicated to boolean constants (true, false) and boolean operations
In programming, an expression that evaluates to True or False.
Makes the sprite and the target bounce when they touch each other. Both the sprite and the target change how they are moving.
Makes the sprite bounce off the target. The target keeps moving normally.
Pathways in code that diverge based on whether certain conditions are met or not.
Part of a program that does not work correctly.
Makes the sprite stop when it runs into the target. If the target is moving, it will push the sprite with it. The target keeps moving normally.
Statement that only runs under certain conditions.
A software pattern where a numeric variable changes by a set amount each time through a loop
De Morgan's Law
A Boolean law, which states that distribution of a NOT operation over AND/OR will change the other operation to OR/AND.
Finding and fixing problems in an algorithm or program.
Allows one sprite to "push" another sprite around the screen
A function in Game Lab that executes over and over again.
A function in Game Lab that executes over and over again.
Comparison/logical operator: evaluates to true when the operands have the same value.
Any valid unit of code that resolves to a value.
A single image within an animation.
The rate at which frames in an animation are shown, typically measured in frames per second.
A named group of programming instructions. Functions are reusable abstractions that reduce the complexity of writing and maintaining programs.A named group of programming instructions. Functions are reusable abstractions that reduce the complexity of writing and maintaining programs.
Game design process
A formalized method for creating a game by describing the big picture and visualizing it, then breaking it down into sprites and variables and functions
Founder of Boolean logic, a mathematician who suggested a new form of propositional logic where sentences are either true or false
Greater than operator
Comparison/logical operator: evaluates to true when the left operand has a value more than the right operand.
Greater than or equal operator
Comparison/logical operator: evaluates to true when the left operand's value is at least as great as the right operand's.
Short for Integrated Development Environment, this represents a way to create, test and debug code in some language.
In programming, this is the name given to a variable, method, class or other user-nameable segment of code
Sets up two code pathways: one when a condition is met, another when the condition is not met
The common programming structure that implements "conditional statements".
Comparison/logical operator: evaluates to true when the two operands have different values.
checks to see if one sprite's image intersects with the image of another sprite
Knights and knaves
Class of logic problems supposing an island where each inhabitant either only lies or only tells the truth
Less than operator
Comparison/logical operator: evaluates to true when the left operand's value is lower than the right operand's value.
Less than or equal operator
Comparison/logical operator: evaluates to true when the right operand's value is at least as great as the left operand's value.
A variable that is only accessible within a function where it is declared
Type of operator that evaluates one or more values and returns a boolean result of true or false
Boolean operation: flips the truth value of its operand.
Boolean operation: only evaluates to false when both operands are false; true otherwise.
An extra piece of information passed to a function to customize it for a specific need.
Parameter default value
What a parameter is set to when an argument is not supplied. Parameters with default values must be at the end of the list of parameters.
An algorithm that has been coded into something that can be run by a machine.
A part of a program that executes a single action.
Attribute that describes an object's characteristics.
A word that has a special meaning to the programming language
Changes the way that one sprite will interact visually with other sprites it comes into direct contact with. Options are "rectangle" or "circle".
Type of logical operation that will stop execution if a condition is reached about the first operator.
A graphic character on the screen with properties that describe its location, movement, and look.
Sprite bounciness property
How quickly a sprite moves away from another sprite it bounces off of. 1 will be the same speed but opposite directions.
Sprite velocityX property
How quickly a sprite is moving along the x axis
Sprite velocityY property
How quickly a sprite is moving along the y axis
A set of program statements that execute one after the other.
A special character indicating the end of a program statement
Connecting two strings together, often using the + operator
A series of characters between quotation marks, written directly into code
The vocabulary and grammar of a language, programming or otherwise.
A problem with the vocabulary or grammar of a program.
A method of analyzing boolean expressions by investigating their truth values under all possible input conditions
A placeholder for a piece of information that can change.
A program creating a variable in memory and giving that memory location a label
The range of code that has access to view and modify the value of a variable