Creating a sidescroller type Mario game requires a bit of knowledge related to physics, collision detection, and sprite animation. It can be quite tricky at first, but once you understand the basics, you can set up some full-fledged levels which anyone can play. This tutorial will teach you everything you need to know in regards to developing a fully functional Mario-type game with just HTML5 canvas and vanilla JS.
Canvas Boilerplate: https://github.com/christopher4lis/canvas-boilerplate
Image Assets: https://drive.google.com/drive/folders/147Yx4qrTlzPUkEDvwaYEMcQjaaH8hX8r
Hi, Chris, the video source code mario image seems to be different from the one in the video, I was able to run the game but the mario doesn't move at all.