Sure! Here's a simple implementation of "Blade Legends" game using HTML, CSS, and JavaScript as a single HTML file:
In this game, you start with 100 HP and a sword. The enemy's HP scales with your level. Every time you attack the enemy by clicking the "Attack" button, the enemy's HP and your HP decrease. When the enemy's HP reaches 0, you level up, and a new enemy with increased HP appears. If your HP reaches 0, the game is over.
You can save the code as an HTML file (e.g., `blade-legends.html`) and open it in any web browser to play the game.