-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kalilah Clarke #105
base: master
Are you sure you want to change the base?
Kalilah Clarke #105
Conversation
Still working on it but wanted to show some type of work, in the time being. |
textBasedAdventure.js
Outdated
let answer1 = ["A", "B", "C"]; | ||
while (answer1 !== null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you want this while loop to do ?
answer1
is never going to null
because you are defining it in line 35 and assigning it some value/data
textBasedAdventure.js
Outdated
switch (location) { | ||
case "A": | ||
toSchool(); | ||
break; | ||
case "B": | ||
stayHome(); | ||
break; | ||
case "C": | ||
hangWithFriends(); | ||
break; | ||
default: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great use of the switch case !
textBasedAdventure.js
Outdated
let answer1 = ["1", "2"]; | ||
while (answer1 !== null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
answer1
will never be null
here as well
No description provided.