Sure! Here's an example of a text-based game called "Escape School" implemented as a single HTML file using JavaScript and enclosed in script tags:
Please note that this game is a basic text-based game and doesn't include pictograms as it primarily focuses on the game logic and structure. You can enhance it further by adding more location2s, puzzles, and visuals as per your requirements.