Sure! Here's an example of a simple drawing game implemented as a single HTML file using JavaScript:
This implementation creates a canvas element where you can draw by touching the screen. When you start touching the canvas, it starts drawing rectangles at the touched points. When you stop touching, it stops drawing.
Please note that this is a basic example and can be extended or customized further based on your specific requirements.