You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constgameDescription='Find the greatest common divisor of given numbers.';
15
28
16
-
constgenerateIncorrectMessageEvenOdd=(userAnswer,correctAnswer,userName)=>`Answer "${userAnswer}" if the number is even, otherwise answer "${correctAnswer}".\nLet's try again, ${userName}!`;
29
+
constgenerateIncorrectMessageEvenOdd=(userAnswer,correctAnswer,userName)=>`'${userAnswer}' is wrong answer ;(. Correct answer was '${correctAnswer}'.\nLet's try again, ${userName}!`;
constgameDescription='Answer "yes" if given number is prime. Otherwise answer "no".';
13
29
14
-
constgenerateIncorrectMessageEvenOdd=(userAnswer,correctAnswer,userName)=>`Answer "${userAnswer}" if the number is even, otherwise answer "${correctAnswer}".\nLet's try again, ${userName}!`;
30
+
constgenerateIncorrectMessageEvenOdd=(userAnswer,correctAnswer,userName)=>`Answer "${userAnswer}" if the number is prime, otherwise answer "${correctAnswer}".\nLet's try again, ${userName}!`;
constgameDescription='What number is missing in the progression?';
15
31
16
-
constgenerateIncorrectMessageEvenOdd=(userAnswer,correctAnswer,userName)=>`Answer "${userAnswer}" if the number is even, otherwise answer "${correctAnswer}".\nLet's try again, ${userName}!`;
32
+
constgenerateIncorrectMessageEvenOdd=(userAnswer,correctAnswer,userName)=>`'${userAnswer}' is wrong answer ;(. Correct answer was '${correctAnswer}'.\nLet's try again, ${userName}!`;
0 commit comments