Sure! Here's an example of a horror game in a maze implemented as a single HTML file with JavaScript. It utilizes pictograms for smartphone operation:
Horror Maze Game
Try to find the exit! Avoid the ghosts!
To play the game, you can copy and paste the above code into a new HTML file and open it in a web browser. The maze will be displayed on the screen, and you can use the arrow keys on your smartphone to navigate the player's movement through the maze. The goal is to find the exit while avoiding the ghosts. Once you find the exit or get caught by a ghost, the game will end and display a corresponding message.