Sure! Here's an example of a text-based theme park manager simulator game implemented as a single HTML file using JavaScript:
In this game, you start with an initial amount of money and no visitors in your theme park. The available attractions are listed along with their costs and capacities. The `purchaseAttraction` function allows you to buy an attraction if you have enough money, and the `attractVisitors` function simulates attracting visitors to your park based on the capacity of each attraction. The game output is displayed in the console.
Please note that this is just a basic example to demonstrate the structure of the game. You can build upon this and add more features, graphical elements, and interactions as per your requirements.