Sure! Here's an example of an idle game implemented as a single HTML file using JavaScript within script tags:
Idle Game
Click the image to earn points:
Points: 0
In this example, the game starts with an image that the player can click to earn points. The score is displayed on the screen, and it increases both when the image is clicked and automatically every second. You can replace the `src` attribute of the `img` tag to use your own pictogram or icon.