Sure! Here's an example of how you can create a text-based game called "Space GTA" using JavaScript enclosed in HTML script tags:
In this game, you will be prompted to enter your name and then choose actions to explore or quit. The game uses pictograms to represent a spaceship, asteroids, and planets. Each time you choose to explore, a random event will occur: finding an asteroid, discovering a planet, or simply cruising through space.
Feel free to customize and expand upon this basic game structure according to your own preferences.