Sure! Here's an example of a simple runner game implemented in a single HTML file using JavaScript and pictograms. The player controls a human riding a unicorn, and every 15 seconds, they must make a choice between a good or bad option. The outcomes are randomly generated.
In the above code, you'll need to replace the `emozi_all/unicorn.png` URL with the actual URL to your unicorn pictogram, or use a locally stored image file.
When the game starts, the player is prompted to make a good or bad choice using the left and right arrow keys, respectively. Depending on the choice, the player's position is updated on the screen. If a bad choice is made, the game ends. The game continues to prompt the player for choices every 15 seconds.