Hypermedia actors in F#
summary
Claim: combine actors, finite state machines and hypermedia to make "living" web resources. Implementation uses F-sharp agents on asp.net core with giraffe, Siren-style JSON hypermedia (client written in node). Built a multiplayer text Spy-vs-Spy server where rooms, bombs, file and agents are addressable actors, state transitions driven by Siren actions and links. Demo shows pick up, bomb planting and disarm flows working; some bugs remain (escape plane link misbehaves), but core dynamic linking and agent creation function.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:23Actor model deep dive
- 2:47Finite state machines
- 3:51Hypermedia from Bush to Berners-Lee
- 8:08Spy vs Spy concept
- 9:13Web API problems
- 14:53Game design inspiration
- 19:52Actors for game server
- 22:39Modeling agents with finite state machines
- 24:44Hypermedia with Siren
- 30:46F# implementation
- 36:25Live game demo
- 45:01Summary
related talks
33mHypermedia – the solution for future web applications?
32mReal-time Hypermedia
41mReal world hypermedia at NRK TV
25mArchitecting Web Apps - Lights, Camera, Action!
25mPure Functions & Paladins Building TTRPGS with F# and MVU (v1)
28mPure Functions & Paladins Building TTRPGS with F# and MVU
38mState of the Art Web User Interfaces with State Machines
01h 00mReinventing MVC pattern for web programming with F#
