A lightweight roleplaying game (RPG) character system in Swift.
A library that implements an RPG system I thought up. The goal is to encapsulate the core concepts in an API that is concise, generalized, and reasonable.
- A character is defined by a collection of named attributes.
- Attributes have a baseline value.
- User defined events modify attributes.
- The default event, a time step, causes attributes to decay toward the baseline.
API design is still in its early stages. I will add usage examples and documentation once I feel like it's more stable.