~/talk

Dungeons, Dragons and Functions

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [functional-programming]
slides:none on file

Models D&D Fifth Edition rules (the 316-page PHB plus 300+ page Monster and DM books — ~1,000+ pages of spec) in F# using discriminated unions, records and pattern matching; implements a dice-expression DSL and overloads to write rolls like “4d6+2”. Outputs to the browser via Fable + Elmish, producing an ugly but working combat simulator that runs automated trials (goblins lose to wolves most runs). Project takes months not weeks and plans to use reinforcement learning to learn better creature strategies.

AI-written summary · about

  1. 0:00Intro
  2. 0:45What do you do
  3. 1:07Story
  4. 2:07Who is Mathias
  5. 4:05Agenda
  6. 5:06Agency
  7. 5:53Dungeons Dragons
  8. 6:47Rules
  9. 7:16Books
  10. 7:50Roleplay
  11. 9:42Domain Modeling
  12. 10:42Abilities
  13. 11:00Discrimination Union
  14. 11:27Ability Score
  15. 11:40Record
  16. 12:04Pattern Matching
  17. 12:48Modifiers
  18. 14:04Algebraic Data Types
  19. 16:24Parallelization
  20. 17:41Ranged
  21. 20:12Nesting Dolls
  22. 21:19The Mantra
  23. 23:11The Wyvern
  24. 23:43The Lie
  25. 24:16Damage
  26. 24:34List
  27. 25:11Wyvern
  28. 25:32Options
  29. 26:00Weapons
  30. 28:03Discrimination Unions
  31. 29:33Dice Rolls
  32. 30:05Model Expressions
  33. 40:00Combat
  34. 40:42State
  35. 42:50Update
  36. 48:56Decision Needed
  37. 49:06Validation
  38. 50:07Conclusion
  39. 53:46Thank you
  40. 54:52Making a decision
~/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.