Pacman is another classic game which can be coded in less than 1000 lines of code. Here, I'll teach you everything you need to know to get your own Pacman-style game up and running with the HTML5 canvas and vanilla JavaScript.
Game Assets: https://drive.google.com/drive/folders/1Cvq2RVrv-z2rR3wPZjgJrUgOAjVSVzj9?usp=sharing
GitHub Gist with pre-built map and switch case statements: https://gist.github.com/christopher4lis/452bc4442208e3123e6abf69458081df
Still waiting for premium version