Sure! Here's a simple maze game implemented as a single HTML file using JavaScript:
In this game, you navigate a player (represented by a smiley face) through a maze (represented by a grid of cells) to reach the exit (represented by a checkered flag). You can use the arrow keys to move the player up, down, left, or right. Once the player reaches the exit, a win message will be displayed and the game will be reset.