Skip to content

Kalilah Clarke#1

Open
KalilahClarke wants to merge 2 commits into
coreyladovsky:mainfrom
KalilahClarke:main
Open

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

Conversation

@KalilahClarke

Copy link
Copy Markdown

No description provided.

Comment thread game.js
*/
const generateRandomNumber = () => {

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

Copy link
Copy Markdown
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

Comment thread game.js
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
Copy Markdown
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