Sure! Here's a simple game called "Poppy's Playtime" implemented as a single HTML file. It contains JavaScript code and is enclosed in script tags. It can be played as a finished game, assuming smartphone operation. Pictograms are used to enhance the visuals.
Poppy's Playtime
To play the game, open any text editor and copy-paste the above code into a blank HTML file. Save the file with an `.html` extension (e.g., `poppy_playtime.html`). Then, open the HTML file in a web browser. You will see the game screen with a Poppy character and some obstacles. Try to click on Poppy to increase your score, but avoid touching the obstacles. The score will be displayed on the screen, and when Poppy collides with an obstacle, the game will end and display a "Game Over!" message. Enjoy playing "Poppy's Playtime" on your smartphone!