If someone wishes to play the game using a different word list, they can do so, editing LINE 17of the wordy.sh
WORD_LIST="/usr/share/dict/words"
change to
WORD_LIST="/path/to/prefered/wordlist"
I have already considered this before. I know that what you propose is quite easy. However I do not want to impose any other word list (that might even be considered "proprietary") to anyone, when the majority of the users's systems already have the default word list.
So, whoever user want any other list, they can easily edit that line and go on enjoy the game using the list they like.
Another solution is a config file instead of editing line 17. It is just as easy, but having a config file to configure just one parameter sounds not great.
As mentioned above, this script is using the word list contained in /usr/share/dict/words.If your distro doesn't include this installed, you can install the respective package (wordlist, words) using the respective command (apt, pacman).
ADDITIONALLY, if someone wishes to play the game using a different word list, they can do so, editing LINE 17of the wordy.sh
Oh the word list issue is a matter of great debate. I opted for using the default word list just to avoid this matter (thinking that this list is something fixed and undebatable).
It might be a good idea to make the word list configurable, so that each user may use their prefered word list. Stay tuned, I might do it the very near future.
The selection of letters is random, so, the number of words - solutions is also random. However the user can configure the range of the number of words - solutions, editing the ~/.config/spelion/spelion.config file. That means that the puzzle can have e.g. between 10 and 30 solutions, or between 50 and 100 etc.
The user can avoid the frustration of not ever knowing the right answers when no other solutions come to mind: with the W option the user can browse the list of all possible solutions to the puzzle.
Thank you for your feedback, any other suggestion/correction/input is most welcome.
Thank you for this response.
I will mention /use/share/dict/words as a dependency for this script in the README.
However, as I am not an Arch user, and thus not familiar with aur and respective commands, and as installing this dependency would be beyond the scope of this project, I will ommit giving precise instructions on how to install this package.
Thanx for pointing out, it is now fixed in the repo and in the script, however I cannot update the preview image here on Lemmy... so this spelling error will stick out like a sore thumb.
For this I chose the word list as is contained in /usr/share/dict/words, minus words with upper-case letters, words with apostrophe and words containing letters with accent marks.
One minor thing I have to do is "grep" rid of latin numerals that pop up, like xxxvi,xxiv etc.
If someone wishes to play the game using a different word list, they can do so, editing LINE 17of the
wordy.sh
change to
I have already considered this before. I know that what you propose is quite easy. However I do not want to impose any other word list (that might even be considered "proprietary") to anyone, when the majority of the users's systems already have the default word list. So, whoever user want any other list, they can easily edit that line and go on enjoy the game using the list they like.
Another solution is a config file instead of editing line 17. It is just as easy, but having a config file to configure just one parameter sounds not great.