~/talk

Dungeons, Dragons and Functions

Talkat NDC Copenhagen 2019 · 2019-03-27..03-29· [functional-programming]
slides:none on file

Implements D&D 5e rules in F#, spending about six months turning PHB/DMG/Monster Manual specs into code using discriminated unions and records to model stats, weapons and attacks, and a dice expression DSL with eval to roll complex expressions. Builds a Fable + Elmish web simulator that runs automated encounters and shows wolves beat goblins frequently; many rules are half truths (melee reach exceptions, multi-damage, optional features), effects and global buffs remain hardest, and reinforcement learning is the planned next step.

AI-written summary · about

  1. 0:00Start
  2. 5:13Player's Handbook (PHB)
  3. 7:23Ogres, Goblins, & Company
  4. 8:25Discriminated Union
  5. 8:44Abilities
  6. 9:21Pattern Matching
  7. 10:08Modifiers
  8. 10:28Function
  9. 15:40Different structure: OR
  10. 16:13Melee & Ranged
  11. 16:57Attack: a sketch
  12. 17:58Pattern Match to extract data
  13. 18:57Modules
  14. 19:17Chimerae
  15. 22:16Goblin attacks
  16. 22:29Wyvern attacks
  17. 25:36The truth...
  18. 28:13Questions to ask
  19. 43:33Evaluation
  20. 45:19What is a fair fight?
  21. 45:36Estimating probability of survival
  22. 46:16In practice
  23. 46:39Modeling (4)
  24. 53:42Alternatives
  25. 54:57What's missing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.