Email the Author
You can use this page to email Allan MacGregor about Developing a Text-Based Adventure Game.
About the Book
Discover the art of game development with Elixir in this hands-on project-based guide. In Developing a Text-Based Adventure Game in Elixir, you’ll learn how to build an interactive, text-based adventure game from the ground up, using functional programming principles. This booklet takes you step-by-step through designing the game’s structure, managing game states, and implementing core mechanics such as inventory systems, puzzles, and user interactions.
Key concepts covered:
- Designing flexible game states and transitions using pattern matching.
- Implementing recursive game loops for scene navigation.
- Handling user input and output to create a seamless player experience.
- Managing complex game state without mutable variables.
- Enhancing gameplay with features like saving/loading, a help system, and randomness for replayability.
Whether you’re a beginner or an experienced Elixir developer, this project will sharpen your skills and inspire you to create more interactive applications using the power of functional programming. Perfect for hobbyists, aspiring game developers, and anyone looking to dive deeper into Elixir.
About the Author
Allan has an extreme interest in exploring programming and software engineering. He does this by providing mentoring and writing books on programming. He has previously written books for the PHP language, but is now trying his hand at an Elixir book.