Sure! Here's an example of a simple game where numbers keep increasing and a new number spawns every second. The game is implemented as a single HTML file using JavaScript and enclosed in script tags.
In this game, a box with a number will appear every second, and the numbers will keep increasing indefinitely. Each new number is represented by a div element that is added to the game container. You can play the game by viewing this HTML file in a web browser, especially on a smartphone.
Note that I've added some basic styling to the game container with a fixed width and height. Feel free to modify the styling or add more features to the game as per your requirements.