Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Andromeda

A single-player Choose Your Own Adventure RPG where a deterministic rules engine owns dice, state, and outcomes, and an LLM only narrates.

Built on Cepheus Engine (2D6 sci-fi TTRPG) mechanics — used under the Open Game License — with an original fantasy theme pack.

Quick Start

uv sync
uv run pytest tests/ -v

Play

uv run python -m src.tui
# or: uv run andromeda

Architecture

  • Engine (src/engine/) — deterministic command funnel, append-only event log, seeded RNG, Pydantic state models, JSON persistence
  • Rule-sets (src/rulesets/) — pluggable resolution mechanics behind a Protocol interface
  • Theme packs (src/themepacks/) — YAML content data (careers, skills, oracle tables)
  • TUI (src/tui/) — Textual rich terminal shell over the engine library
  • LLM (src/llm/) — Pydantic AI adapter for narration with tool-call-only mutations

Design Principle

The engine is the trust boundary. Every dice roll, state mutation, and outcome calculation runs in deterministic Python code. The LLM receives outcomes as facts and produces prose — it can never influence mechanics.

License & Attribution

Andromeda is dual-licensed (see NOTICE.md):

  • Code, tests, and the original fantasy theme pack — MIT (LICENSE).
  • Sci-fi theme pack (src/themepacks/data/scifi/) — Open Game License v1.0a (LICENSE.OGL), as Open Game Content derived from the Cepheus Engine System Reference Document.

Status & Trademarks

Andromeda is an independent, unofficial project. "Cepheus Engine" and "Samardan Press" are trademarks of Jason "Flynn" Kemp; this project is not affiliated with or endorsed by Jason "Flynn" Kemp or Samardan Press. Cepheus Engine SRD content is used under the OGL 1.0a.

About

A deterministic-rules CYOA RPG where the engine owns mechanics and the LLM only narrates. Built on Cepheus Engine (OGL) rules.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages