As a matter of fact it is one of the scripts that I cannot do without, I use it everyday, it is very convenient. But then again I wrote it myself, so I can't be objective.
Hey, I know the guy who wrote the script, he is great.
I have never tried it. But debian based + xfce, so you know what to expect.
This is a long list of terminal goodies: https://github.com/toolleeo/cli-apps/
Also, check the games that I have written, in the same spirit as this one:
https://gitlab.com/christosangel/tui-sudoku
https://gitlab.com/christosangel/wordle
https://gitlab.com/christosangel/ladder
https://gitlab.com/christosangel/mneme
Someone should come up with a new distro with the name potatOS, just for cases like this .
Another alternative is to provide the user a few word lists (as you mentioned, they should be quite light), and from then on each one is free to choose their prefered one.
It could be done with curl
as well, but then if we did that, we would have another dependency: curl
.
I forgot to thank you for the feedback, and for your willlingness to help, it is appreciated.
I use both in my mint machine. I love both. However you see it, xfce is lighter in resources.
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.
UPDATE:
The word list now is configurable.
By editing the WORD_LIST
line in $HOME/.config/spelion/spelion.config
, the user can play the game using another word list.
-
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
WORD_LIST="/usr/share/dict/words"
change to
WORD_LIST="/path/to/prefered/wordlist"
Check out basht