Skip to content

Kalilah Clarke#1

Open
KalilahClarke wants to merge 2 commits intocoreyladovsky:mainfrom
KalilahClarke:main
Open

Kalilah Clarke#1
KalilahClarke wants to merge 2 commits intocoreyladovsky:mainfrom
KalilahClarke:main

Conversation

@KalilahClarke
Copy link

No description provided.

*/
const generateRandomNumber = () => {

let x=(Math.floor(Math.random()*1000) +1);{
Copy link
Owner

Choose a reason for hiding this comment

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

We shouldn't have the extra {} at the end of this

const gameLoop = () => {
console.log("I have a random number in mind")
console.log("It's between 1 and 1000")
console.log("You have 10 guesses total")
Copy link
Owner

Choose a reason for hiding this comment

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

Game logic belongs in this function.

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

Comments