Skip to content

Commit b1ccd5c

Browse files
committed
modified games
1 parent 1133054 commit b1ccd5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

games/even-game.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function evengame() {
3030
}
3131
}
3232
if (correctAnswers === 3) {
33-
console.log(`Congratulations ${name}!`);
33+
console.log(`Congratulations, ${name}!`);
3434
}
3535
}
3636
}

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ export function gamelogic(rules, game) {
1818
}
1919
}
2020
if (correctAnswers === 3) {
21-
console.log(`Congratulations ${name}!`);
21+
console.log(`Congratulations, ${name}!`);
2222
}
2323
}

0 commit comments

Comments
 (0)