Skip to content

Durdona Djalilova & Carina#60

Open
ddj786 wants to merge 7 commits into
joinpursuit:mainfrom
ddj786:main
Open

Durdona Djalilova & Carina#60
ddj786 wants to merge 7 commits into
joinpursuit:mainfrom
ddj786:main

Conversation

@ddj786

@ddj786 ddj786 commented Dec 21, 2020

Copy link
Copy Markdown

No description provided.

Comment thread game.js Outdated
let randomNum = generateRandomNumber();
let guessNumber = rls.questionInt("Go ahead. Take a guess ")
let guessCount = 10;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

You'll need a while loop here. For it to work.
Calling gameLoop won't work because you'll always recreate the guessCount variable at 10.

IvanCastillo1986 pushed a commit to IvanCastillo1986/Guessing-Game-cli-lab that referenced this pull request Feb 4, 2021
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