Game Comparison
RANDSUM supports six tabletop RPG systems, each with its own dice mechanics and outcome types. Use the comparison below to find the right package for your game.
Every game package wraps the core @randsum/roller engine, so they all share the same reliable dice rolling foundation. The difference is in how each package validates input, configures the roll, and interprets the result.
| Game | Dice | Input | Outcomes | Package |
|---|---|---|---|---|
| D&D 5th Edition | 1d20 or 2d20 | modifier + rollingWith | Numeric total | @randsum/fifth |
| Blades in the Dark | Nd6 pool (0-10) | count (number) | criticalsuccesspartialfailure | @randsum/blades |
| Daggerheart | 2d12 hope/fear + d6 | modifier + rollingWith + amplify | Hope/Fear typetotaldetails | @randsum/daggerheart |
| Powered by the Apocalypse | 2d6 | stat + forward + ongoing + advantage | strong_hitweak_hitmiss | @randsum/pbta |
| Root RPG | 2d6 | bonus (number, -20 to +20) | Strong HitWeak HitMiss | @randsum/root-rpg |
| Salvage Union | 1d20 | tableName (string) | labeldescriptionhit type | @randsum/salvageunion |
D&D 5th Edition
@randsum/fifthClassic d20 system with advantage and disadvantage support for ability checks, saving throws, and attack rolls.
roll({ modifier: 5, rollingWith: "Advantage" })Blades in the Dark
@randsum/bladesDice pool system where you read the highest die. Zero dice means rolling two and keeping the lowest.
roll(3)Daggerheart
@randsum/daggerheartDual d12 hope and fear dice with optional amplification and advantage/disadvantage.
roll({ modifier: 3, rollingWith: "Advantage" })Powered by the Apocalypse
@randsum/pbtaUniversal 2d6+stat engine for Dungeon World, Monster of the Week, Apocalypse World, Masks, and more.
roll({ stat: 2, forward: 1 })Root RPG
@randsum/root-rpgWoodland adventure RPG using 2d6+bonus with three-tier outcome resolution.
roll(2)Salvage Union
@randsum/salvageunionD20 table-based resolution system for mech salvage operations with multiple result tables.
roll("Core Mechanic")Choosing a package
Section titled “Choosing a package”- Building a D&D character sheet? Use
@randsum/fifthfor d20-based rolls with advantage/disadvantage. - Running a Blades in the Dark campaign? Use
@randsum/bladesfor dice pool resolution with four outcome tiers. - Playing a PbtA game? Use
@randsum/pbtafor the universal 2d6+stat engine that works across the entire Powered by the Apocalypse family. - Exploring Daggerheart? Use
@randsum/daggerheartfor hope/fear dual-die mechanics. - Adventuring in the Woodland? Use
@randsum/root-rpgfor Root’s 2d6+bonus system. - Piloting mechs? Use
@randsum/salvageunionfor d20 table-based resolution.
Installation
Section titled “Installation”Install only what you need. Each package pulls in @randsum/roller automatically.
bun add @randsum/fifth # D&D 5ebun add @randsum/blades # Blades in the Darkbun add @randsum/pbta # Powered by the Apocalypsebun add @randsum/daggerheart # Daggerheartbun add @randsum/root-rpg # Root RPGbun add @randsum/salvageunion # Salvage Union