We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdba0a3 commit 0a3ceb0Copy full SHA for 0a3ceb0
src/games/brainEven.js
@@ -8,7 +8,7 @@ const genRounds = ()=>{
8
const minNum = 1;
9
const maxNum = 100;
10
const randomNum = getRandomNum(minNum, maxNum);
11
- const rightAnswer = isEven(description) ? 'yes' : 'no';
+ const rightAnswer = isEven(randomNum) ? 'yes' : 'no';
12
return [randomNum, rightAnswer];
13
14
}
0 commit comments