Swift Packages
| Repository | Description |
|---|---|
| RolePlayingCore | A Swift package for tabletop RPG character logic: species, classes, backgrounds, feats, ability scores, skills, spells, equipment and currency, loaded from JSON game data. Example data follows the SRD 5.2.1. Includes a SwiftUI character builder app for iOS and macOS. Built on SwiftDice. |
| SwiftDice | A Swift package for tabletop RPG dice. Build dice expressions with Swift operators or parse standard notation like 4d6-L, then roll them. Supports drop and keep, exploding and reroll modifiers, Fudge dice, dice pools, and JSON round-tripping. Used by RolePlayingCore and DungeonCore. |
| D20 | 🎲 Evaluate dice notation in Swift |