GREETINGS, TRAVELER!Â
Hit the green "Run" button at the top to begin! (Also, it might be helpful to drag the top of the console up so it takes up the entire window, that way you can read all of the text.)
Though programming this was fairly conceptually simple, there were a few elements that make this a bit different from most Choose-Your-Own-Adventure stories.
Try rejecting Duncan's call to adventure, and see how far you can negotiate. (If you negotiate, the game remembers the reward you end up negotiating for, and it gets mentioned again at the end -- unless you upset Duncan!)
When Duncan hears your catchphrase, I wanted him to say a randomly selected response. In order to simulate this with only pseudorandom functions, I took the length of the input catchphrase and used it as a seed for random.choice.
When doggo asks if you understand, say, "Not really." (I wrote too many responses for you not to read them!)