PlanDuSite ModificationsRécentes Nouvelles SectionElisp CommentFaire

Hangman

Différence entre les versions 2 et version actuelle

Résumé : Rollback to 2008-09-05 00:16 UTC

Pas de diff disponible.

hangman.el by EricLudlam is a version of the simple hangman word guessing game, played against the computer. Get it from

http://cedet.sourceforge.net/ftp/hangman.el-0.1.gz

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.


CategoryGames