Sure! Here's a simple game implemented as a single HTML file that meets your requirements:
To play the game, you can copy the above code into a text editor and save it as a `.html` file. Then, open the file in a web browser (preferably on a smartphone for easier touch-based controls). The game will start automatically. Use the arrow keys or on-screen buttons (if available) to move the blue player (pictogram) around and avoid the red enemy blocks. Your goal is to reach the yellow line on the right side of the screen to win. If the player touches an enemy, you lose and a game over message will appear. Enjoy!