Sure! Here's an example of a text-based game called "Blood Thirsty" implemented as a single HTML file using JavaScript:
This game follows the rules you've provided. When you run the HTML file in a web browser, it will start the game and display the options to choose from. The game ends if you take too long (surprised by the leech), or if you choose the correct option to escape the forest.
Feel free to modify the game's behavior or enhance it further according to your preferences.