HororHoror
Developer User7000|Date and time 23/9/13 22:08:41 Build time 23.305 sec|Game capacity 2.046KB|Script
Sure! Here's an example of a simple horror game implemented as a single HTML file using JavaScript:
Horror Game
You find yourself in a spooky mansion. It seems something eerie might happen if you look too much.
What will you do?
In this game, the player starts in a spooky mansion and is given the option to "look". Each time the player clicks the "Look" button, they toggle the scary state. If the scary state is true, the game ends and the player gets scared. If the player gets scared, a game over message is shown.
Note: This is a very simple implementation and can be expanded upon to include more gameplay elements, graphics, sounds, and better user experience.