Noah Clark · Mar 22, 2026
From Hardcoded to Data-Driven: Loading YAML in Elixir
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Our game has events, effects, and real gameplay — but every piece of content is hardcoded in Elixir modules. Want to add a new event? Edit code, recompile, hope you didn’t break something. There’s a better way. By moving game content to external files, you separate what the game contains from how the game works . This chapter is a refactoring exercise: the game won’t gain new…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.