mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-10-22 05:54:10 -04:00
added some more words to the "first letter" edge case
This commit is contained in:
1 parent
f7ec0742e1
commit
5b9b2f76f4
1 file changed
+8
-1
@@ -59,7 +59,14 @@
|
||||
guessIsEpistlesWithNumber &&
|
||||
guess.firstLetterMatch
|
||||
) {
|
||||
const words = ["Exactly", "Right", "Yes", "Naturally"];
|
||||
const words = [
|
||||
"Exactly",
|
||||
"Right",
|
||||
"Yes",
|
||||
"Naturally",
|
||||
"Of course",
|
||||
"Sure",
|
||||
];
|
||||
return words[Math.floor(Math.random() * words.length)]; // Special wordplay case
|
||||
}
|
||||
return getFirstLetter(guess.book.name); // Normal case: show first letter, ignoring numbers
|
||||
|
||||
Reference in new issue
Block a user