Sure! Here's an example of an incremental game implemented in a single HTML file using JavaScript:
In this game, the objective is to earn more score by clicking the "Click" button or buying auto-clicks. Each click is worth 1 score, and auto-clicks generate an amount of score each second based on their count. The auto-clicks can be purchased by using 10 scores.
You can play this game by simply opening the HTML file in a web browser, preferably on a smartphone for better touch screen experience. The game will update the score and UI every second, allowing you to see your progress and purchase auto-clicks to increase your score.