From Prototype to Production


Hello, fellow developers! It's been a while! Don't worry, the project is far from abandoned, but I did have to take a step back and redesign the whole thing. I'll go over the reasons why, the obstacles I faced and how I overcame them.

Using chatGPT I was getting some pretty good code a lot of the functionality I wanted, but the code was all piece work with no encompassing architecture, things were becoming a coupled mess, impossible to extend or maintain. I fell into the prototype pitfall!

I needed to take a step back and redesign the whole thing! The good news is I had a good idea of what I want to do and already developed a lot of the tools I would need. The next step was to design a good way to implement it all. The 1st major design choice I made was to separate most the functionality into a reusable text adventure library. I also wanted to add a layer of abstraction so I could later port the system to the unity or other game engines and coding environments.

A lot of the tools I developed I was able to scavenge. Things like the name generator and map generator among other things, but a lot of other things needed to be redesigned. The main goal for the library would be clean code that is easy to extend and maintain, so I will be implementing a lot of common programming patterns, such as the type object pattern, the factory pattern, using delegates, lambda and LINQ. I will be going over these more in depth in future posts. Stay tuned for more updates, moving from prototype to production one step at a time.

If you're curious about my progress, check out the ongoing work on the Text Adventure Library right here:
https://github.com/logicandchaos/TextAdventureResources

Leave a comment

Log in with itch.io to leave a comment.