epel
epel
CC#
Created by epel on 6/13/2024 in #help
Console Adventure Game Structure
I'm a beginner, but have a slight knowledge of concepts from college 20 years ago. I'm trying to recreate a text based adventure game (L.O.R.D., if you're familiar) to get my feet wet. I've been following a few different youtube tutorials. The first started out with each area being a new method. It's functional, and ready for me to flesh out more of the mechanics, but also messy. The second divided each area out into their own classes, and pointed out how messy methods can get - agreed! They also suggested "as you learn, you'll see other ways to organize a game like this", using patterns such as singletons, state, or locator. My question is, which would be the most efficient? Or, preferred, maybe is a better description.
14 replies