-
Notifications
You must be signed in to change notification settings - Fork 2
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
MNG - Add Who's that pokemon (hard mode) #42
Conversation
src/service/QuestionService.js
Outdated
} else if (mode === WHO_IS_THAT_POKEMON_HARD_MODE) { | ||
return shuffleAnswers({ | ||
question: answersObj[this.correctAnswerIndex].photoUrl , | ||
answers: [ answersObj[0].name, answersObj[1].name, answersObj[2].name, answersObj[3].name ], | ||
correctAnswer: { value: answersObj[this.correctAnswerIndex].name, index: this.correctAnswerIndex} | ||
}) |
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.
isn't this code the same as in first mode?
you can use mode === X || mode === Y
😌
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.
Tremendous work! Really cool ❤️ 🏆
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.
Nice 😌
No description provided.