Skip to content

Dalíz's text based adventure game#108

Open
dalizcruz wants to merge 1 commit intojoinpursuit:masterfrom
dalizcruz:master
Open

Dalíz's text based adventure game#108
dalizcruz wants to merge 1 commit intojoinpursuit:masterfrom
dalizcruz:master

Conversation

@dalizcruz
Copy link

No description provided.

let input;
const active = () => {
while (input !== "light" && input !== "moderate" && input !== "vigorous") {
input = readLineSync.question(("Please type in your level of preferred level of activity: light, moderate, or vigorous. \n"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to account for different capitalizations.

console.log("Since you don't want to reserve available tickets, lets play another round of rock, paper, scissors till I can recommend an activity.")
rockPaperScissors();
}
endGame();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is getting called at the end of all the conditions and is therefor causing me to always end the game instead of having the option to play again.


let aloneOrGroup;
let temp;
let ifActive;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name is isActive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants