Sure! Here's an example of a simple endless running game using JavaScript and pictograms, implemented as a single HTML file:
In this game, you have two pictograms, a girl and a boy, running on a track. Pressing the spacebar or tapping on the screen will make the selected character jump. The characters will automatically switch every 3 seconds. The game is played within the HTML file and can be run on a smartphone.