DragonFly On-Line Manual Pages
HANGMAN(6) DragonFly Games Manual HANGMAN(6)
NAME
hangman -- computer version of the game hangman
SYNOPSIS
hangman [-k] [-d wordlist]
DESCRIPTION
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.
FILES
/usr/share/dict/words Default word list.
AUTHORS
Ken Arnold
DragonFly 4.3 January 6, 2016 DragonFly 4.3