mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-02-04 10:54:44 -05:00
added some more words to the "first letter" edge case
This commit is contained in:
@@ -59,7 +59,14 @@
|
|||||||
guessIsEpistlesWithNumber &&
|
guessIsEpistlesWithNumber &&
|
||||||
guess.firstLetterMatch
|
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 words[Math.floor(Math.random() * words.length)]; // Special wordplay case
|
||||||
}
|
}
|
||||||
return getFirstLetter(guess.book.name); // Normal case: show first letter, ignoring numbers
|
return getFirstLetter(guess.book.name); // Normal case: show first letter, ignoring numbers
|
||||||
|
|||||||
Reference in New Issue
Block a user