Sure! Here's an example of a simple text-based adventure game implemented in a single HTML file using JavaScript:
This simple adventure game has a total of four rooms: starting room, room 1, room 2, and room 3. Each room has a description and a set of options for the player to choose from. By clicking on the options, the player can navigate through the different rooms and progress in the game.
Please note that this is just a basic example to give you an idea of how a text-based adventure game can be implemented. You can expand upon this code and add more features, graphics, and complexities to make it a full-fledged game.