A family-friendly, text-based RPG built entirely in a single HTML file using HTML, CSS, and vanilla JavaScript.
Click Here to Play the Game Live! (Note: Update this link once you turn on GitHub Pages!)
The space station Aurelius has a big problem. A silly computer virus has infected all the cleaning robots, turning them into mischievous "Scrap-Goblins"! The crew ran away and locked themselves inside the VIP Pizza Cafeteria to stay safe. As a brave Space Ranger, it is your job to board the station, navigate the floating comic books and sticky slime tunnels, and find the Reactor Core to reboot the main computer.
- Retro CRT Aesthetic: Custom CSS animations create a glowing green, flickering terminal effect with retro scanlines.
- Audio Engine: The built-in Web Audio API generates a creepy, atmospheric hum and retro typing "blips" without needing any external MP3 files.
- Smart Storyteller: The game adapts to player choices, changing the prompts based on whether a room has been searched or not to guide younger players.
- Crafting System: Find a Workbench to combine junk into awesome items like the Tickle Bomb or a Power Booster.
- 3 Unique Classes: Replay the game as a Gadget Geek, Treasure Hunter, or Space Knight for different starting perks.
- Multiple Endings: Your choices and resource management determine how the story concludes!
No servers or installations are required to run the code on your own machine!
- Clone or download this repository.
- Double-click the
index.htmlfile to open it in any modern web browser (Chrome, Firefox, Safari, Edge). - Type your commands into the terminal and press
Enterto play.
The game uses a simple text parser. Here are the commands you need to know:
go [direction]: Move to a new room (e.g., go north, go east).- `search
