~/talk

Dungeons, Dragons and Functions

Talkat NDC London 2019 · 2019-01-30..02-01· [design-collaboration]
slides:none on file

Tells how the 300‑page D&D rules get encoded into concrete types and functions in F# over four months, with discriminated unions and records for stats, a composable dice DSL (operator overloads for roll expressions), and a browser UI built with fable + Elmish that hot‑reloads. Delivers a working combat simulator that can run automated fights (shows goblins vs wolves), stores code on GitHub, and currently lacks buffs/debuffs and smarter AI but plans reinforcement learning to tune encounter survival probabilities.

AI-written summary · about

  1. 0:00Start
  2. 1:39Origin Story
  3. 6:39Player's Handbook (PHB)
  4. 9:16Ogres, Goblins, & Company
  5. 10:30Discriminated Union
  6. 10:53Abilities
  7. 11:42Pattern Matching
  8. 12:36Pipe forward
  9. 13:29Function
  10. 16:44Goblin attacks
  11. 17:36Different structure: OR
  12. 18:28Melee & Ranged
  13. 19:08Attack: a sketch
  14. 20:13Pattern Match to extract data
  15. 24:45Wyvern attacks
  16. 27:40The truth...
  17. 41:57Evaluation
  18. 48:13Fable Elmish
  19. 55:08Representing decisions
~/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.