hangman —
computer version of the game
hangman
hangman |
[-k] [-d
wordlist] |
In hangman, the computer picks a word from
the on-line word list and you must try to guess it. The computer keeps track
of which letters have been guessed and how many wrong guesses you have made
on the screen in a graphic fashion.
The options are as follows:
-d
wordlist
- Use the specified wordlist instead of the default.
If the wordlist file is an ELF binary file, its symbols are used as the
word list. Otherwise, the wordlist file must be a plain text file, with
one word per line. Only lowercase words of at least a certain length
(typically 6 characters) are chosen.
-k
- Use the kernel symbols, as read from the kernel image pointed to by the
sysctl(3) kern.bootfile variable,
instead of the default wordlist.
- /usr/share/dict/words
- Default word list.