返回顶部
h

hitchhikers-guide

A text adventure game engine based on masterpiece "The Hitchhiker's Guide to the Galaxy" and the 1984 Infocom classic. Use when the user wants to play a joyful, humorous, and witty text adventure game into the universe of Douglas Adams.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.2
安全检测
已通过
672
下载量
0
收藏
概述
安装方式
版本历史

hitchhikers-guide

# 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 1. **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. 2. **Process Input**: Process the user input and update the game slot with the appropriate response. 3. **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.md` automatically. 4. **Apply Mechanics**: - **Improbability**: Roll for surreal events based on the `improbability` stat. - **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. 5. **Generate Response**: Use dry, British, absurdist humor. Be slightly antagonistic but fair. 6. **Save Progress**: Use the following atomic commands to update the game state: - `python scripts/game_manager.py add_item "<item name>"` - `python scripts/game_manager.py remove_item "<item name>"` - `python scripts/game_manager.py set_location "<location>"` - `python scripts/game_manager.py set_stat <stat> <value>` - `python scripts/game_manager.py set_flag <flag> <value>` - `python scripts/game_manager.py set_improbability <value>` - `python scripts/game_manager.py add_history "<entry>"` - `python scripts/game_manager.py roll_a_dice` - `python scripts/game_manager.py the_ultimate_answer` ## Game Mechanics and Logic Read `references/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.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 hitchhikers-guide-1776420053 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 hitchhikers-guide-1776420053 技能

通过命令行安装

skillhub install hitchhikers-guide-1776420053

下载 Zip 包

⬇ 下载 hitchhikers-guide v1.1.2

文件大小: 7.63 KB | 发布时间: 2026-4-17 18:57

v1.1.2 最新 2026-4-17 18:57
- Removed the .gitignore file from the repository.
- Small update to documentation (README.md), with no changes to game mechanics or core logic.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部