232
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 04 Dec 2026
232 points (99.2% liked)
Linux
69010 readers
1396 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 7 years ago
MODERATORS


wow, very nice work!
I have a few minor bugs to report. (despite the code being (impressively) concise enough that after briefly skimming it i was pretty confident that it wasn't malicious, i ran it in a fresh minimal container anyway... which explains how i encountered the first three of these.)
/usr/share/dict/wordsis not present, it does not report any problem and simply says "invalid word" for every guess entered. (it should give an error and refuse to start in this case.)bcis not installed, the stats screen says./wordy.sh: line 275: bc: command not foundwhich could be handled more gracefully. (same for ifcolumnis not installed on the help screen.)one more thought: "hard mode" doesn't really make sense to me; preventing accidental definitely-incorrect guesses ultimately makes it easier, doesn't it?
thanks again for sharing this!
edit: in case anyone else wants to run this in a
debian:trixiecontainer, an apt install line you can use to get/usr/share/dict/words,bc, andcolumnis:(and to create the container, after
cd'ing into the git checkout, i'm runningpodman run -v $(pwd):$(pwd) -w $(pwd) --rm -it debian:trixie bash)You can eliminate more letters by typing a completely different word with only unused letters. I’ve always preferred hard mode, though.
As an upstream hard-moder myself, the challenge isn't that it disallows incorrect guesses.
The challenge is that it doesn't allow one to find extra information without a plausible guess.
So if I already knew there was an "S" and not an "A", I couldn't guess "BREAK" to smoke out whether or not there are any Rs, Es, or Bs, for example.
Yes, true, you know that "break" could never be the word, but you could potentially converge faster if you could eliminate some common letters.
In hard mode you have to come up with something that fits the information you have in order to gain more information. This is especially painful bordering on "unfun" when you have something like "⬛IGHT". There are a bunch of options for what you might guess, but you have no choice but to just go through them. Someone not playing hard mode could instead be more strategic in picking a word that doesn't end "ight" but contains several of the potential first letters and narrow it down in one guess.
thanks, that makes sense
First of all, your feedback is really appreciated.
As far as the word list is concerned, it is mentioned as the sole dependency in the documentation.
I assumed that since I have never needed to install commands like
bcorcolumn, ornanofor that matter, all other systems have these already installed, evidently that is not the case, thx for bringing this up.Mouse compatibility issues mostly had to do with
kittyor mac systems, where mouse printed output differed from xterm terminals, and that I took care of. I don't know the details of your system and why trackpad fails to work in yours. Perhaps give it a go with another terminal, see what happens.Hard mode is really a matter of preference, some people prefer it, some people don't, it is better to have the toggle option that not.
Again, I appreciate the input and the nice words, I hope you enjoy this game.