diff --git a/src/games/evGame.js b/src/games/evGame.js index 76c9346..241f002 100644 --- a/src/games/evGame.js +++ b/src/games/evGame.js @@ -10,8 +10,8 @@ const isEven = (count) => { } return undefined; }; +const userName = greeting('Answer "yes" if the number is even, otherwise answer "no".'); const askNumberQuestions = () => { - const userName = greeting('Answer "yes" if the number is even, otherwise answer "no".'); let i = 0; while (i < 3) { const question = Math.floor(Math.random() * 100);