~/talk

Building Better TTRPGs With Functional Thinking

Talkat LambdaConf 2024 · 2024-05-04..05-10· [creative-coding]
links:none on file
slides:none on file

Builds a playable TTRPG by moving logic off brittle Google Sheets + Apps Script into F# + Fable, using SAFE/MVU for UI, typing to model domain rules, and composing magic and weapons from the same templates. The result is a decoupled ruleset and setting, automated character sheets, and a working recursive battle‑map combat loop that has been playtested in sessions. Claims faster iteration, fewer surprises from API failures, and clearer rules derived from the compiler forcing better design.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Why I made my own TTRPG
  3. 3:10Desired TTRPG features
  4. 5:16First iteration: Google Sheets
  5. 7:46Switching to F# with Fable
  6. 9:10Building with SAFE Stack
  7. 10:37MVU architecture in F#
  8. 12:26Functional thinking in game rules
  9. 13:48Decoupling setting and mechanics
  10. 15:12Flexible character creation
  11. 16:36Final thoughts on FP benefits
  12. 17:39Live demo and Q&A
~/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.