tfaughnan / grepdle

Yet another Worldle clone, now made to be easily grepped
https://tjfjr.net/grepdle
GNU General Public License v3.0
3 stars 1 forks source link

Roman Numerals #1

Open itspaulyg opened 2 years ago

itspaulyg commented 2 years ago

Upon playing this wordle clone my mother and I were stuck on a word for the longest time with our attempts leaving us only with a 'c' and an 'i' by the time we reached the end. The letters left were quite limited and no word could possibly be formed from them given the position of our discovered letters. So, after bashing my head into the ground for 23 minutes I decided to utilize the grep command on my terminal. After looking for possible words with a 'c' in the second position and an 'i' in the fourth position, I discovered only two possible words: acrid and scrip. Neither of these were possible because some of those letters were grayed out at this point. The only option left was to give up and see what remained. The word was: xcvii. This is no word. This is a Roman Numeral. Then I decided to compare my word list with the one listed in wordlist.txt and noticed that wordlist.txt contains 556 more words than what /usr/share/dict/words contains. This discrepancy is the issue I am submitting here that caused much suffering.

tfaughnan commented 2 years ago

Wow that is unacceptable, and I apologize profusely for the suffering this oversight has caused. The wordlist currently used was obtained from the /usr/share/dict/words file on my Arch Linux machine (btw), by running grep -E '^[a-z]{5}$' /usr/share/dict/words. This file was installed via the words package, and the package appears to source its words from the GNU Aspell project. I agree that Roman numerals have no place in grepdle, and it appears that the wordlist on your computer respects this reality better.

If you'd like to make a PR with the five-letter words from your system, I'll gladly merge it.

tfaughnan commented 2 years ago

I've applied a hotfix in 12efd8419dad72b97506b9beac255f02ad22d826, and deployed it to the server :)