I'm glad you're interested in creating a generative art game! Here is an example of how you can implement it as a single HTML file using JavaScript:
This code will create a canvas element and draw random shapes on it at regular intervals. You can also click on the canvas to draw a new shape manually. You can modify this code to create a more interactive generative art game with pictograms or any other elements you like. Have fun experimenting with generative art!