Archive of QA for this lesson


#1

Below please find links to archived Q&A discussion for the Code Your Own Adventure 2! course.

Code Your Own Adventure 2!

Exercise 1.1: What you'll be building
Exercise 1.2: Prompt
Exercise 1.3: .toUpperCase() and .toLowerCase()
Exercise 1.4: Switch
Exercise 1.5: Logical operators
Exercise 1.6: You did it!


#2

@ryan

There is a bug (of sorts) in the code for 1/6 of Code Your Own Adventure 2. If you choose PAY -> NO the game should end as you don't have any money. However, the game continues anyway with the question "Is your money in Troll Dollars?" and if you input "YES" you still lose. The last question is superfluous.


#3