Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Dungeons, Dragons and Functions

NDC Conferences via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk uses Dungeons & Dragons rules as a case study in domain modeling with F#. It demonstrates functional programming techniques for representing game rules, combat state, and decisions.

Syllabus

Intro
What do you do
Story
Who is Mathias
Agenda
Agency
Making a Game Interesting
Dungeons Dragons
Rules
Books
Roleplay
Domain Modeling
Abilities
Discrimination Union
Ability Score
Record
Pattern Matching
Modifiers
Algebraic Data Types
Parallelization
Ranged
Nesting Dolls
The Problem
The Mantra
The Wyvern
The Lie
Damage
List
Wyvern
Options
Weapons
Discrimination Unions
Dice Rolls
Model Expressions
Combat
State
Update
Decision Needed
Validation
Conclusion
Thank you
Making a decision

Taught by

NDC Conferences

Reviews

Start your review of Dungeons, Dragons and Functions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.