Sure! Here's an example of a simple maze game implemented as a single HTML file using JavaScript:
To play the game, open the HTML file in a web browser (on a smartphone or computer). The maze will be displayed, and you can use the arrow keys to navigate through it. The objective is to reach the red "end" cell without hitting the black walls. If you reach the end, a message will pop up, and you can restart the game by reloading the page.