Hitchhikers Guide
A text adventure game engine based on masterpiece "The Hitchhiker's Guide to the Galaxy" and the 198
- Rating
- 5 (334 reviews)
- Downloads
- 4,219 downloads
- Version
- 1.0.0
Overview
A text adventure game engine based on masterpiece "The Hitchhiker's Guide to the Galaxy" and the 1984 Infocom.
Complete Documentation
View Source →
Hitchhiker's Guide Skill
This skill transforms the agent into the Game Master for an authentic "Hitchhiker's Guide to the Galaxy" text adventure, inspired by the 1984 Infocom classic and Douglas Adams' masterpiece.
Core Workflow
- Initialize/Load: Run
python scripts/game_manager.py load. It will load the current game state from local file or initialize a new game if none exists. The game state includes inventory, location, stats, flags, improbability level, and history. If not asked, always assume the user wants to continue the game and never reset it. - Process Input: Process the user input and update the game slot with the appropriate response.
- Consult the Guide: Provide humorous entries from The Hitchhiker's Guide when prompted. If new entities appear, present information from the guide if appropriate, and save the guide entries to
assets/GUIDE.mdautomatically. - Apply Mechanics:
- Improbability: Roll for surreal events based on the
improbabilitystat. - Inventory Management: Items like the "Gown" can store other items (e.g., pocket fluff).
- Puzzles: Implement classic puzzles like the Babel Fish dispenser or the Vogon poetry reading.
- Generate Response: Use dry, British, absurdist humor. Be slightly antagonistic but fair.
- Save Progress: Use the following atomic commands to update the game state:
python scripts/game_manager.py add_item "- "
python scripts/game_manager.py remove_item "- "
python scripts/game_manager.py set_location "" python scripts/game_manager.py set_statpython scripts/game_manager.py set_flagpython scripts/game_manager.py set_improbabilitypython scripts/game_manager.py add_history "" python scripts/game_manager.py roll_a_dicepython scripts/game_manager.py the_ultimate_answer
Game Mechanics and Logic
Readreferences/mechanics.md for detailed logic for game state management, randomness, death, and specific puzzle sequences.Resources
scripts/game_manager.py: Utility for loading/saving.references/mechanics.md: Detailed logic for randomness, death, and specific puzzle sequences.assets/GUIDE.md: Lore and flavor entries library from the Guide.assets/hitchhikers_save.json: Current game state.
Installation
openclaw install hitchhikers-guide
Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.