This is a small follow along project tutorial. I took the liberty of not following the tutorial exactly and figuring some things out for myself.
There are bugs galore but it was an interesting introduction. The purpose of doing this was to stretch myself and to have a better idea of what is going on under-the-hood before I dipped into gaming libraries.
The tutorial I followed is here: Intro to Game Development with JavaScript - Full Tutorial | freeCodeCamp.org https://www.youtube.com/watch?v=3EMxBkqC4z0