MadsWedendahlKruse/nat20: Dungeons and Dragons engine in Rust
github.com·3h·
Discuss: Hacker News
Rust Macros
Preview
Report Post

Nat20

natural 20 (noun) The result of rolling a twenty-sided die and obtaining a value of 20, before applying any modifiers, often representing an exceptional outcome. - Oxford Dictionary (probably)

Overview

Nat20 is a Dungeons & Dragons 5th Edition combat engine written in Rust. The engine is based on the System Reference Document v5.2.1. By combat engine, it means nat20 can execute the rules involved in throwing a Fireball at a Goblin, and it’ll make him do a Dexterity Saving Throw before rolling 8d6 and (probably) burning the him to a crisp, but it is not a full game engine and it is not a complete game (no actual "gameplay", UI, or tooling beyond a developer/debug view). Think of it like the code version of a D&D rule…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help