Function: dun-score
dun-score is a byte-compiled function defined in dunnet.el.gz.
Signature
(dun-score ARGS)
Source Code
;; Defined in /usr/src/emacs/lisp/play/dunnet.el.gz
(defun dun-score (_args)
(if (not dun-endgame)
(let (total)
(setq total (dun-reg-score))
(dun-mprincl "You have scored " total " out of a possible 90 points.")
total)
(dun-mprinc "You have scored " (dun-endgame-score))
(dun-mprincl " endgame points out of a possible 110.")
(if (= (dun-endgame-score) 110)
(dun-mprincl
"\n\nCongratulations. You have won. The wizard password is 'moby'"))))