HTML5 has a feature called Canvas, which allows for some kind of nice visuals and some cool functions. I used this and JavaScript to build out a side-scrolling game.

It uses navigation buttons for users to move the sprite to dodge obstacles, and features a restart button function to offer continuous play. This can be used as source code and customized later if desired, but this was the version I opted to put on here for access.

To open this, simply download and unzip the files and open the .html file in your preferred browser to play or in any IDE (such as Visual Studio Code) to modify this as source code.

Download files here