Sure! Here's an example of a simple cookie-clicker game implemented as a single HTML file using JavaScript. The game allows you to click on a cookie to earn points, which can be used to buy upgrades and increase your cookie production.
Score: 0
Upgrade 1 - Cost: 10
Upgrade 2 - Cost: 20
You can save the above code in an `.html` file and open it in a web browser to play the cookie clicker game. Click on the cookie to earn points and use the points to buy upgrades from the upgrade buttons. The score and cookie pictogram will update dynamically as you play the game.