Sure, here's a simple text-based game implemented as a single HTML file using JavaScript:
To play the game, simply open the HTML file in a web browser, and the game will start automatically. The player will be presented with a series of choices to make in order to survive the encounter with the red creature. The game will prompt the player to input their choice, and based on their selections, different outcomes will occur. The objective is to escape the house without getting killed by the red creature. Good luck!