- Function project1b should NOT call makeBoard
- Is the magnitude just the absolute value of an x velocity or y velocity or is it the x and y velocities combined?
Magnitude is the combined x and y velocities, but you cannot simply add the two. Think of the magnitude as the hypotenuse of a right triangle where the base is the x velocity and the height is the y velocity.
|\
| \
y velocity | \ magnitude
| \
| \
------
x velocity
Thus to calculate magnitude you can use the Pythagorean theorem:
magnitude = square root of the sum of xVelocity squared and yVelocity squared