How syeo66/adventure works
Main Components
a) Client-Side Components:
• Console Interface (User Input/Output)
• Game Engine (Rust Application)
• Configuration Manager (INI file handler)
b) External Services:
• OpenAI API Service
• Anthropic API Service (alternative)
c) Storage:
• Local Configuration File (~/.adventure.ini)
Application Layer (Core Game Engine)
• Sub-components:
• Input Handler
• Game State Manager
• AI Response Processor
• Configuration Reader
External Services Layer
• AI services at the bottom
• Both OpenAI and Anthropic APIs as alternative paths
Component Relationships
• User input flow: Console → Game Engine
• Configuration flow: INI File → Configuration Reader → Game Engine
• AI interaction flow: Game Engine → AI Services
• Response flow: AI Services → Game Engine → Console
Additional Details
Technical specifications in notes or labels:
• Rust runtime environment
• API authentication flow
• Configuration file format
• Console I/O handling