Sammanfattning: add archive link
< : http://cedet.sourceforge.net/ftp/hangman.el-0.1.gz
> : http://cedet.sourceforge.net/ftp/hangman.el-0.1.gz (dead link)
> : http://wayback.archive.org/web/20070708044037/http://cedet.sourceforge.net/ftp/hangman.el-0.1.gz (archived)
hangman.el by EricLudlam is a version of the simple hangman word guessing game, played against the computer. Get it from
By default words are chosen from
/usr/dict/words. But on most systems that file has an awful lot of obscure things, so you might want to change
hm-dictionary-file if you’ve got a better word list.
Hangman version 0.1 is hurt by an incompatible change made to
concat in Emacs 21. In
hm-make-guess-string the concat under the
t case tries to concat a char to a string, which Emacs 21 broke. It can be changed to
(substring string i (1+ i)). Only words with hyphens or apostrophes are affected.