Since we're making a simple racing game, we'll need to handle collisions; it's inevitable that we'll need to use a physics library of some sort, or make our own. For now, we should swap out our naive movement algorithm (ie. incrementing positions depending on whether keys are pressed) for something complex.
I anticipate that we'll use https://github.com/liabru/matter-js for the physics engine. Handling collisions is outside the scope of this issue; we'll tackle that problem in another issue.
Since we're making a simple racing game, we'll need to handle collisions; it's inevitable that we'll need to use a physics library of some sort, or make our own. For now, we should swap out our naive movement algorithm (ie. incrementing positions depending on whether keys are pressed) for something complex.
I anticipate that we'll use https://github.com/liabru/matter-js for the physics engine. Handling collisions is outside the scope of this issue; we'll tackle that problem in another issue.