Sure! Here's a simple example of a Cookie Clicker game implemented as a single HTML file using JavaScript:
Cookie Clicker
Click the cookie as fast as you can!
Score: 0
In this game, you have a cookie image displayed on the screen. When you click on the cookie, the score increases by one, and the updated score is displayed. The goal is to click the cookie as many times as possible to increase your score.