Sure, here is a simple maze generator game implemented as a single HTML file using JavaScript:
To use this code, save it in a new HTML file and open it in a web browser. The maze will be displayed, and you can use the arrow keys to move the player (represented by a pictogram) to reach the goal (also represented by a pictogram).
Please note that you need to replace `emozi_himawari.png` and `emozi_cat.png` with actual images for the player and goal pictograms. You can adjust the `MAZE_SIZE` and `CELL_SIZE` variables to change the size of the maze and individual cells if desired.