Sure! Here's an example of a simple generative art game implemented as a single HTML file using JavaScript:
This game allows you to create generative art by dragging your finger or cursor across the screen. Each stroke will be of a random color and thickness. You can play by opening this HTML file in a web browser (preferably on a smartphone for touch input).