Posts

Showing posts from August, 2022

How to make a Text Adventure game in Rust - IV - Objects

Image
Part IV of the Rust Text Adventure Series - Learn how to add objects to the game. In this post, we'll combine Locations, Items, and Actors into a shared Object structure. This abstraction opens new possibilities for game play and story telling allowing for a better user experience.  In this project, we're making a fully functional text adventure game from scratch.  The post assumes you've read the earlier posts in the series. To get caught up jump to the  first post and start at  the beginning .  This project is heavily based on the work of  Ruud Helderman  and closely follows the content and structure of his  excellent tutorial series  on the same topic using the C language. This content and all code is licensed under the  MIT License . Photo by Frank Cone 4 - Objects A note to readers. This post contains a pretty big Aha! moment for me. The approach here is what made me want to implement a text adventure following this example. Puzzles are what make a
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 - III - Locations

Image
Part III of the Rust Text Adventure Series - Location, location, location! True in real estate and also true in text adventure games. Location is the canvas on which a text adventure game is brought to life. In this post, we'll add locations to the game and allow the player to move from place to place.
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 - II.1 - Commands

Image
Part II.1 of the Rust Text Adventure Series - This brief post will be a bit of a diversion from looking at locations. In this post, we'll enhance Command processing to use an enum for the verb. This allows us to take advantage of type checking and sets us up for abbreviations and omissions when the time comes. We'll come back to locations in the next post in the series. 
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 - II - The Main Loop

Image
Part II of the Rust Text Adventure Series - The beating heart of a video game is the main loop. Learn what a main loop is and how to build one for a text adventure game. We'll modify the game to add a main loop, gather player input and take the first steps toward interactivity in the game.
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 - Introduction

Image
Ever wanted to learn to make a text adventure game from scratch? In this post series you'll learn how. We're building a text adventure from 'cargo init' to 'You Won!' Along the way we'll show and describe every key decision and line of code. You'll learn how to implement locations, objects, conditions, scoring, and more. At the end you'll be able build your own text adventure and tell your story!
Enjoyed this post? Help me create more with a coffee. Never miss out on future posts by following me.

Trip Report, August 1st, 2022

Image
Trip report from the second month of the journey. In which we make our first tutorial and publicize our first posts with less than stellar results. Also, fun with numbers.
Enjoyed this post? Help me create more with a coffee. Never miss out on future posts by following me.