Skip to content

Commit 0a3ceb0

Browse files
rootroot
authored andcommitted
fix brainEven )))
1 parent bdba0a3 commit 0a3ceb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/games/brainEven.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const genRounds = ()=>{
88
const minNum = 1;
99
const maxNum = 100;
1010
const randomNum = getRandomNum(minNum, maxNum);
11-
const rightAnswer = isEven(description) ? 'yes' : 'no';
11+
const rightAnswer = isEven(randomNum) ? 'yes' : 'no';
1212
return [randomNum, rightAnswer];
1313

1414
}

0 commit comments

Comments
 (0)