HANGMAN(6) BSD Games Manual HANGMAN(6)
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
The options are as follows:
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 /dev/ksyms, instead of the
/dev/ksyms Kernel symbols file.
/usr/share/dict/words Default word list.
BSD February 7, 2015 BSD