Sure! Here's an example of a simple Zombie Survival Apocalypse game implemented as a single HTML file using JavaScript:
To play the game, simply open the HTML file in any web browser on your smartphone or desktop. The game starts automatically, and you can control the player character (represented by a green square) using the arrow keys. The objective is to avoid getting caught by the randomly spawning zombies (represented by red squares). If a zombie touches the player, a game over message will pop up.
Please note that this is a simple example and can be further expanded and enhanced with more game mechanics, visuals, and features depending on your requirements and preferences.