~/talk

Dungeons, Dragons and Functions

Talkat NDC Porto 2019 · 2019-02-26..03-01· [functional-programming]
slides:none on file

Argues that Dungeons & Dragons rules are a rich domain-modeling exercise and shows concrete results: uses F# and Fable + Elmish to encode abilities, attacks, dice expressions and an MVU UI, compiles to JavaScript and runs a battle simulator. Documents: PHB 316 pages, ~1,000 pages total; project stretches months (five so far), not a weekend. Built a simulator that plays automated fights (example: three goblins vs three wolves) and works for Monte Carlo-style runs, but effects, magic and terrain remain incomplete.

AI-written summary · about

  1. 0:00Start
  2. 6:33Dungeons and Dragons, a.k.a D&D First published in 1974 Many iterations, current version D&D se First Role-Playing Game (RPG) Tolkien-inspired universe
  3. 8:42Playing D&D roles: Players, Dungeon Master (DM) Players decide what they want to do DM runs the world around them a slightly different phases Role play, flexible, focus is on interactions
  4. 15:59Algebraic Data Types * kind of composite type, formed by combining other types (Wikipedia)
~/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.