mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-12 07:40:50 -08:00
Merge pull request #921 from MirceaMazi/bagels-js-grammar
Fixed small grammar errors at the beginning and end of the bagels game in the js file
This commit is contained in:
@@ -84,7 +84,7 @@ async function main()
|
||||
} while (j >= 1) ;
|
||||
}
|
||||
print("\n");
|
||||
print("O.K. I HAVE A NUMBER IN MIND.\n");
|
||||
print("OK. I HAVE A NUMBER IN MIND.\n");
|
||||
for (i = 1; i <= 20; i++) {
|
||||
while (1) {
|
||||
print("GUESS #" + i);
|
||||
@@ -142,7 +142,7 @@ async function main()
|
||||
print("\n");
|
||||
} else {
|
||||
print("OH WELL.\n");
|
||||
print("THAT'S A TWENTY GUESS. MY NUMBER WAS " + a[1] + a[2] + a[3]);
|
||||
print("THAT'S YOUR TWENTIETH GUESS. MY NUMBER WAS " + a[1] + a[2] + a[3]);
|
||||
}
|
||||
y++;
|
||||
print("PLAY AGAIN (YES OR NO)");
|
||||
|
||||
Reference in New Issue
Block a user