Skip to content

patricker/encounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

encounter

Social interaction resolution engine. Resolves multi-character encounters via practice-scoped action catalogs and three resolution protocols.

Protocols

  • SingleExchange — CiF-style one-shot: initiator picks, responder accepts or rejects.
  • MultiBeat — Versu-style turn-based scene with configurable turn policy.
  • BackgroundScheme — CK3-style long-duration plot with progress accumulation.

Standalone

encounter depends on serde, toml, and thiserror. Nothing else. Pattern evaluation (fabula) and utility scoring (salience) are delegated to consumers via the AcceptanceEval and ActionScorer traits.

Generic over precondition type

CatalogEntry<P> is generic over its precondition. The catalog loader produces CatalogEntry<String> (raw fabula DSL text). Bridge crates can compile to CatalogEntry<Pattern<L, V>> for typed pattern matching. Consumers who don't use fabula can use CatalogEntry<()>.

References

License

Dual-licensed under MIT or Apache-2.0.

About

Social interaction resolution engine. Resolves multi-character encounters via practice-scoped action catalogs and three resolution protocols.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages