Here's a simple implementation of a Shop Simulator game in a single HTML file using JavaScript:
Instructions:
1. Copy the above code and save it as a `.html` file.
2. Open the file in a web browser on your smartphone.
3. The game will start automatically. Follow the on-screen prompts to play the game.
In this game, you will be given an initial balance of $10 and you can choose to buy items based on their prices. Your balance will be updated accordingly, and you can view your balance at any time. The game will continue until you choose to exit or run out of funds.