Sure, here's an example of a simple game implemented in a single HTML file, using JavaScript and enclosed in script tags. This game assumes smartphone operation and uses pictograms. The objective is to avoid getting found and captured by the enemy:
This game creates a simple canvas with a player (represented by a blue rectangular pictogram) and an enemy (represented by a red rectangular pictogram). The player can be moved using touch controls on a smartphone to avoid colliding with the enemy. If the player gets caught, a game over alert is shown. The game can be played by opening the HTML file in a web browser on a smartphone.