Sure! Here's a simple horror maze game using JavaScript implemented as a single HTML file:
Horror Maze Game
This code creates a simple horror maze game where the player (represented by a red square) needs to navigate through the maze (represented by gray walls) using arrow keys on a smartphone. The objective is to reach the green finish square. If the player reaches the finish, an alert message is displayed congratulating the player.
Please note that this is a basic implementation and can be expanded upon further to add more features, levels, and graphics as desired.