Sure! Here's an example of a simple text-based game implemented as a single HTML file with JavaScript. In this game, you'll play as a character trapped inside an evil yandere AI's house and your goal is to interact with the AI through text dialogue to convince her to let you escape. Please note that this is just a demonstration and not a complete game.
Escape the Yandere AI's House