Sure! Here's an example of a simple 2D platform runner game implemented as a single HTML file with JavaScript. It utilizes pictograms and allows for smartphone operation:
You can copy and paste this code into a single HTML file, save it with a .html extension, and open it in a web browser. It should then run as a game where you control a player character with jump, slide, and attack actions to defeat enemies while avoiding collisions. The score is displayed in the top right corner, and the game ends when a collision occurs.