I’ve gotten a little tired of typing out
ls vimwiki/ | shuf -n1 all the time, and that’s usually proof positive that it’s time to give it an alias. So it’s in my .bashrc now as “tokolosi,” and here’s what the little demon dragged home today:
It seems the imp has a morbid sense of humor. I should have expected as much.
hangman in this rendition is out of the classic bsd-games package, although a quick search of the ‘net shows about a half-dozen other variations available. I have a feeling this too is one of those programming challenges that secondary school teachers offer for extra credit. 🙄
The bsd-games version is relatively painless, although I am fairly certain it’s pulling text out of its local words dictionary, so if you’re looking for something for your 6-year-old to play, your child better be a genius. Of course, all parents think their children are geniuses. … 🙄
You can supposedly redirect that with a
-d flag, and maybe pick something less challenging (or more challenging 😐 ). hangman also allows you to set a minimum length for a word too, which I suppose, in a roundabout way, is a kind of difficulty control.
After that, there’s not much I can say about hangman. It has the requisite graphical components, a list of letters that you’ve picked, and a few running statistics so you can impress your friends.
What else could you want from a hangman game, a server-client model for real-time multiplayer over-a-network fragging action?!