-
Notifications
You must be signed in to change notification settings - Fork 659
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
Beat That: Base + Score + Leaderboard_unfinished #146
base: main
Are you sure you want to change the base?
Conversation
"<br></br> The current leaderboard is as follows <br></br> " + | ||
dashboardDisplay(); | ||
} | ||
return display; |
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.
'display' is not defined.
} else if (gameMode == pending_result) { | ||
console.log("game mode", gameMode); | ||
// if pass player settings display the win logic | ||
display = |
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.
'display' is not defined.
console.log("game mode", gameMode); | ||
// if pass dicerollresult then run the player settings | ||
display = playerSettings(input); | ||
} else if (gameMode == pending_result) { |
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.
Identifier 'pending_result' is not in camel case.
} else if (gameMode == dice_rolled) { | ||
console.log("game mode", gameMode); | ||
// if pass dicerollresult then run the player settings | ||
display = playerSettings(input); |
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.
'display' is not defined.
console.log("game mode", gameMode); | ||
// when the setting is now waiting for players, click submit then roll dice result | ||
display = diceRollResult(); | ||
} else if (gameMode == dice_rolled) { |
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.
Identifier 'dice_rolled' is not in camel case.
Code Climate has analyzed commit ebedbad and detected 44 issues on this pull request. Here's the issue category breakdown:
Note: there are 38 critical issues. View more on Code Climate. |
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.
code is tidy and easy to read.
awesome use of functions to minimise repetition and simplify code
super work!!
remember that variable names in javascript are to be in camel case though
Please fill out the survey before submitting the pull request. Thanks!
🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀
How many hours did you spend on this assignment?
2 hours (excluding online research)
Please fill in one error and/or error message you received while working on this assignment.
Missing syntax errors and getting confuse on how to place the if statement within If statement.
What part of the assignment did you spend the most time on?
I think trying to put them in a way where it works step by step, by assigning it into different modes. And syntax errors.
Comfort Level (1-5):
2.5
Completeness Level (1-5):
2.5~3/5
What did you think of this deliverable?
Is there anything in this code that you feel pleased about?
I like that I know how to use global variable properly now