Aug-08-2017, 04:11 PM
Text adventures with an if/elif/else structure become more and more unwieldy as they grow, until they collapse. A much better structure is a loop that operates on data that defines the game. For an example of how to do this, check out the text adventures link in my signature below.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures