Here's an example of a simple text-based zombie survival game implemented as a single HTML file:
To play the game, open the HTML file in any web browser. The game will display a series of prompts and alerts to guide you through the gameplay. You can choose options like "fight," "trade," or "go back," and the game will respond based on your choices. Depending on your luck, you may win or lose fights against zombies and have a chance to find water or food while looting the area. The game ends when you decide to sleep.