Plain definitions of the terms used in this course, in alphabetical order. Each links to the lesson where it is explained.
- Algorithm
- A precise, step-by-step method for solving a problem. 12. Growth and algorithms
- atan2
- A function that turns a vector’s (y, x) parts into its angle, keeping track of all four quadrants. 5. Angles and trigonometry
- Big O
- Notation that describes how an algorithm’s step count grows, such as O(n) or O(n²). 12. Growth and algorithms
- Binary
- Base 2: numbers written with only the digits 0 and 1. 8. Binary and hexadecimal
- Binary search
- Finding an item in a sorted list by repeatedly halving the part still to search. 12. Growth and algorithms
- Bit, byte
- A bit is one binary digit. A byte is 8 bits and holds 256 patterns (0–255). 8. Binary and hexadecimal
- Boolean
- A value that is either true or false. 10. Logic and conditions
- Breadth-first search (BFS)
- A graph search that explores in rings of increasing distance; it finds shortest paths on unweighted grids. 13. Grids and pathfinding
- Coordinate
- A number that gives position along one axis. A pair (x, y) locates a point in 2D. 1. Coordinates
- Delta
- The time since the last frame, used to make motion depend on seconds rather than frames. 4. Rates and motion
- De Morgan’s laws
- not (A and B) = not A or not B; not (A or B) = not A and not B. 10. Logic and conditions
- Dot product
- Multiply matching vector parts and add. For unit vectors it equals the cosine of the angle between them. 6. The dot product
- Easing
- Bending the progress value t so motion speeds up or slows down naturally. 7. Interpolation and easing
- Expected value
- The long-run average of a random outcome. 11. Randomness and probability
- Floating-point
- The way computers store decimals, with limited precision. 8. Binary and hexadecimal
- Frame
- One redraw of the screen. Games draw many frames per second. 4. Rates and motion
- Graph (computer science)
- A set of nodes connected by edges, such as tiles connected to their neighbors. 13. Grids and pathfinding
- Hexadecimal
- Base 16, written with 0–9 and A–F. One byte is two hex digits. 8. Binary and hexadecimal
- Interpolation (lerp)
- Finding a value part of the way between two others: a + (b − a)t. 7. Interpolation and easing
- Logarithm
- The inverse of an exponent. log₂ n counts how many times n can be halved. 12. Growth and algorithms
- Manhattan distance
- Grid distance with four-way moves: |dx| + |dy|. 13. Grids and pathfinding
- Matrix
- A grid of numbers that can store a transformation compactly. 3. Transformations
- Modulo (%)
- The remainder after division; it makes values wrap around. 9. Remainders and wrap-around
- Normalize
- Divide a vector by its length to get a unit vector in the same direction. 2. Vectors
- Origin
- The point (0, 0). On most screens it is the upper-left corner. 1. Coordinates
- Pivot
- The fixed point a shape rotates or scales around. 3. Transformations
- Pseudo-random
- Numbers produced by a formula that look random; the same seed repeats the same sequence. 11. Randomness and probability
- Radian
- An angle unit based on arc length; a full turn is 2π radians. 5. Angles and trigonometry
- Rate
- How much one quantity changes per unit of another, such as pixels per second. 4. Rates and motion
- Seed
- The starting number for a pseudo-random sequence. 11. Randomness and probability
- Shuffle (Fisher–Yates)
- A method that puts a list in a random order with every arrangement equally likely. 11. Randomness and probability
- Sine, cosine
- The vertical and horizontal parts of a unit arrow at a given angle. 5. Angles and trigonometry
- Transformation
- A rule applied to every point of a shape: translation, rotation, or scaling. 3. Transformations
- Truth table
- A table listing every combination of true/false inputs and the result. 10. Logic and conditions
- Unit vector
- A vector of length 1, used to represent a pure direction. 2. Vectors
- Vector
- A quantity with direction and size, written in 2D as (x, y). 2. Vectors
- Velocity
- Speed with a direction: a vector measured per second. 4. Rates and motion
