This is a nice little tutorial! Vanilla Javascript. No excess layers of abstraction (as can happen in the OO world) and a blog explaining the code. Repl.it to play around with the source. All within a small but fully functional game.