Sure, I can help you create a horror game with zombies using JavaScript. Here's an example implementation as a single HTML file:
This code creates a simple horror game with a player controlled by arrow keys or touch gestures and a zombie that chases the player. The game ends if the player collides with the zombie. The game is displayed on a full-screen canvas element and uses rectangle shapes to represent the player and zombie. You can further customize the visuals by replacing the rectangle drawings with pictograms or images.