Sure! Here's a simple text-based game inspired by Among Us, implemented as a single HTML file with JavaScript enclosed in script tags. Please keep in mind that this is a simple demonstration and not a fully-fledged game.
To play the game:
1. Copy the above code and save it in a `.html` file.
2. Open the file in a web browser, preferably on a smartphone.
3. The game will start automatically, and you'll be assigned a crewmate task.
4. Follow the prompts and type "task" to complete your task or "quit" to exit the game.
5. If you're assigned the impostortask, your true identity will be revealed if you complete the task.
Note: As this is a text-based game, there are no pictograms involved. The output is displayed using simple alerts and prompts.