Add DynastAI integration documentation and setup scripts

- Introduced `ATROPOS_INTEGRATION.md` for detailed instructions on using DynastAI with Atropos.
- Added `INSTALL_AND_RUN.md` to guide users through installation and running the game.
- Created `run_dynastai.py` for a simplified testing experience without full Atropos setup.
- Implemented `setup.py` to manage dependencies and ensure compatibility.
- Updated `requirements.txt` to include additional dependencies and version constraints.
- Enhanced `README.md` with new sections on installation, running the game, and integration with Atropos.
- Added installation verification script `verify_install.py` to check for required packages.
- Updated game logic to support local card generation and improved API integration.
- Enhanced web interface with new features for user interaction and game metrics display.
This commit is contained in:
Earl Potters 2025-05-18 21:59:12 +00:00
parent b9a1940d12
commit 7101aad190
20 changed files with 1810 additions and 310 deletions

View file

@ -63,6 +63,22 @@ class DynastAIConfig(BaseModel):
description="Directory for storing game data"
)
# Card configuration
cards_file: str = Field(
default="cards.json",
description="Filename for storing cards"
)
use_local_cards: bool = Field(
default=True,
description="Whether to use cards from local JSON file"
)
use_api_cards: bool = Field(
default=True,
description="Whether to generate cards using OpenRouter API"
)
# Game difficulty settings
min_effect_value: int = Field(default=-20, description="Minimum effect value")
max_effect_value: int = Field(default=20, description="Maximum effect value")