Sure! Here's an example of a simple generative art game implemented in a single HTML file, using JavaScript and enclosed in script tags:
In this game, shapes (circles or rectangles) of random colors and sizes are generated on the canvas. The user can regenerate the shapes by clicking or touching the canvas. You can add more features and complexity to the game as desired. Happy coding!