Mercurial > emacs
changeset 24859:0291983fe62f
(mpuz-try-proposal): Fix message call.
Don't penalize player for certain impossible guesses.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 17 Jun 1999 05:29:34 +0000 |
parents | 8844e3f055f2 |
children | 069cad4a56ef |
files | lisp/play/mpuz.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/play/mpuz.el Wed Jun 16 20:02:55 1999 +0000 +++ b/lisp/play/mpuz.el Thu Jun 17 05:29:34 1999 +0000 @@ -393,7 +393,9 @@ (digit (- digit-char ?0)) (correct-digit (mpuz-to-digit letter))) (cond ((mpuz-digit-solved-p correct-digit) - (message "%c has already been found.")) + (message "%c has already been found." (+ correct-digit ?0))) + ((mpuz-digit-solved-p digit) + (message "%c has already been placed." digit-char)) ((= digit correct-digit) (message "%c = %c correct !" letter-char digit-char) (mpuz-ding)