Pure Functions & Paladins Building TTRPGS with F# and MVU (v1)
summary
Builds a working Fogent Roleplay web app with Full Stack F# and Elmish MVU (SAFE stack), shows the actual code structure: models, update functions, and views split into a shared project used by client and server. Demonstrates the inject pattern to pass parent state into child messages, uses commands for async side effects and a serialization of character messages over the wire (websockets suggested), and uses an echo GUID to avoid duplicate application — a concrete, running implementation with source on GitHub.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:51F# and MVU choice
- 3:34MVU for state management
- 4:57Simple character sheet
- 8:06Chaining components
- 11:15Inject pattern
- 15:46Commands for side effects
- 19:42Shared client-server logic
- 20:27MVU message updates
- 24:38Advanced patterns & Q&A
related talks
50mFrontend in F#? Hold my beer!
37mFull Stack Web in F#
55mF# and Fable: re-think web development
59mDungeons, Dragons and Functions
01h 00mReinventing MVC pattern for web programming with F#
54mWriting a MMORPG game in Elm on both client and server
46mSAFE apps with F# web stack
43mFunctional UI, Functional Apps
