Redesign!


Hey, I haven't posted anything in awhile, and that is because there hasn't been anything new to post. Part of this development journey was to test out using chatGPT for game development. A lot of developers I  have talked to say the same thing, that chatGPT is great for writing small scripts but nothing really big and complex. I've found the same mostly with trying it myself, having better luck getting it to write a single class or method rather than large chunks of the game all at once. The mistake was just piecing all the code together with no strong architecture in mind. As such, the code became a coupled mess! the code needs major refactoring!

One solution I chose to clean up the code is to separate code into two projects, a text game library and the game. Some of the benefits to this approach are that the code will be a lot cleaner and decoupled, the text game library will be able to be used to make other games and I can make it free to download for others.  The game project will only contain things relevant to the game, defining the game world, story and using the classes and methods defined in the text game library.

Going forward I will be designing and implementing the the text game library and documenting that process, then I will do some tutorials for using the text game library as I create my game Endless Prose. I also will be continuing to explore using chatGPT in this project, perhaps in different capacities..

Thanks a lot, I hope you continue this journey with me.

Leave a comment

Log in with itch.io to leave a comment.