Sure! Here's an example of a simple Etch-a-Sketch game implemented in a single HTML file using JavaScript:
Etch-a-Sketch Game
To play the game, open this HTML file in a web browser (preferably on a smartphone for touch operation). It will present you with a grid of squares that represents the Etch-a-Sketch canvas. You can tap on any square to draw on it using the default color (black). To change the color, you would need to call the `changeColor` function from the browser console, passing the desired color as an argument (e.g., `changeColor('red')` for red color). To clear the sketch grid, you can call the `clearGrid` function from the browser console.