Sure! Here's a simple text-based game called "Man vs AI" implemented as a single HTML file using JavaScript:
Man vs AI
In this game, the player's goal is to defeat the AI by reducing its health to zero. The game starts by displaying the initial health of both the player and AI. Then, it takes turns between the player and AI to attack each other. The player's attack reduces the AI's health by a fixed amount, and the AI's attack reduces the player's health by a larger amount. The game continues until either the player or the AI's health reaches zero. Once the game is over, the winner is declared.
Please note that this is a very basic implementation and can be expanded upon with additional features, graphics, and animations to enhance the gameplay experience.