-
Notifications
You must be signed in to change notification settings - Fork 357
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
Guess who project #334
base: main
Are you sure you want to change the base?
Guess who project #334
Conversation
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.
Hi Isa,
Great job!
I played the game several times, and the logic and codes are all good. There are two minor issues on which I have provided additional clarification.
Best regards,
Huadan
code/script.js
Outdated
let currentQuestion; //will be the current question object | ||
let charactersInPlay; //will be an array of all people left in the game | ||
let keep; | ||
let guessCount = 0; //Initialize the counter |
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.
I cannot see guessCount being used. So, it is better to remove this variable.
PLAY AGAIN | ||
</button> | ||
<audio src="./sounds/win.wav" id="win"></audio> | ||
<audio src="./sounds/lose.wav" id="lose"></audio> |
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.
The audio button should be removed. It isn't used in the Javascript document.
View it live: https://guess-who-game-deployed.netlify.app/