The Tricks of Game Programming in a Pure Functional Language
summary
Recreated the game Boulder Dash in Elm and built a small browser engine that renders to canvas with requestAnimationFrame and uses a JSON level format. Shows how to implement an update loop, components and pure functions in Elm, with concrete data formats, code patterns, performance optimizations, and a live playable demo (also runs Game of Life and reproduces Advent of Code 2018 Day 15).
AI-written summary · about
chapters (9)
- 0:00Introduction
- 5:21Why FP fits games
- 9:00Functional architecture
- 13:16Component-based design
- 18:10Game loop in FP
- 22:49Tools for functional games
- 25:47Performance optimization
- 28:01Dynamic actors
- 30:08Q&A
related talks
43mThe Tricks of Game Programming in a Pure Functional Language
45mFunctional Reactive Programming in Elm
47mHighway to Elm
34mBringing the Fun to Graphics Programming
39mDeveloper Happiness on the Front End with Elm
38mConfident Frontend with Elm
37mElm and game development, a perfect fit
51mAdventures in Elm
