Sure! Here's an example of a simple text-based game implemented as a single HTML file, using JavaScript within script tags. Although pictograms are not possible within plain text, you can imagine the gameplay and bear encounters in your mind while playing. Remember to save the code as an HTML file and open it in a browser to play the game.
To play the game:
1. Save the code as an HTML file (e.g., `scary_bear_game.html`).
2. Open the file in a web browser (preferably on a smartphone).
3. The game will prompt you to enter a command. Type 'start' to begin the game.
4. Follow the instructions on the console and enter commands to move left or right within the house.
5. Try to avoid encountering the bear. If you get too close, the game ends.
6. To quit the game, enter 'exit'.