Posts

How to make a Text Adventure game in Rust - X - More Attributes

Image
Part X of the Rust Text Adventure Series - In this post, we'll increase game immersion by adding additional attributes to game object. This update will add weight to objects and size to containers, the ability for passages to be blocked or take players to unexpected locations, and health for in-game actors. We'll also explore a bonus map drawing capability.
Enjoyed this post? Help me create more with a coffee. Never miss out on future posts by following me.

Trip Report, February 1st, 2023

Image
Trip report from the eighth month of the journey. In which we follow up on our January plans and step up the pace of posting. Also, fun with numbers.
Enjoyed this post? Help me create more with a coffee. Never miss out on future posts by following me.

How to make a Text Adventure game in Rust - IX - Adding a Game File - Part III

Image
Part IX.3 of the Rust Text Adventure Series - In this post, we'll put some finishing touches on the game file we added in the previous two posts. We'll modify our solution to allow for optional fields in the input game file and add a little extra error checking.
Enjoyed this post? Help me create more with a coffee. Never miss out on future posts by following me.

How to make a Text Adventure game in Rust - IX - Adding a Game File - Part II

Image
Part IX.2 of the Rust Text Adventure Series - In this post, we'll continue the journey we started last time of shifting the world definition from static initialization in the source code to a reader file that is read at runtime. In this post we'll extend the solution we built last time by adding custom serializer and deseralizer functions that allow the game to use names in the location and destination fields.
Enjoyed this post? Help me create more with a coffee. Never miss out on future posts by following me.

Trip Report, January 1st, 2023

Image
Trip report from the seventh month of the journey. In which we close out '22 and look forward to '23. Also, fun with numbers.
Enjoyed this post? Help me create more with a coffee. Never miss out on future posts by following me.

How to make a Text Adventure game in Rust - IX - Adding a Game File - Part I

Image
Part IX of the Rust Text Adventure Series - In this post, we'll take the first steps to add a game file to shift the world definition from static initialization in the source code to a reader file that is read at runtime. With this update the game can be changed by editing the file. This update will allow us to clean up the source by moving content out of the code, will allow us to build a much larger game with many more objects, and allows us to iterate more quickly when building the game.
Enjoyed this post? Help me create more with a coffee. Never miss out on future posts by following me.