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

NDC Conferences

Dungeons, Dragons and Functions

NDC Conferences via YouTube

Overview

Explore the intersection of Dungeons & Dragons and functional programming in this 59-minute conference talk. Dive into domain modeling using F# to tackle the complex ruleset of D&D. Learn practical tips and tricks for functional programming while following along on an epic adventure. Discover how to use discriminated unions, pattern matching, and other F# features to model game elements like abilities, modifiers, and weapons. Examine approaches to handling complex scenarios such as wyvern attacks and determining fair fights. Gain insights from functional programming experts and consider alternative modeling strategies. By the end, you'll have a deeper understanding of both D&D mechanics and functional domain modeling techniques.

Syllabus

Intro
Origin Story
Ogres, Goblins, & Company
Discriminated Union
Abilities
Pattern Matching
Modifiers
Pattern Match to extract data
Wyvern attacks
Light, Heavy Weapons
Tomas Petricek
What is a fair fight?
Modeling (4)
Scott Wlaschin
Alternatives
What's missing?
Thank You! (Cast Bless)

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.