File: mpuz.el.html

M-x mpuz generates a random multiplication puzzle. This is a multiplication example in which each digit has been consistently replaced with some letter. Your job is to reconstruct the original digits. Type
? while the mode is active for detailed help.

Defined variables (17)

mpuz-allow-double-multiplicatorAllow 2nd factors like 33 or 77.
mpuz-boardThe board associates to any digit the list of squares where it appears.
mpuz-digit-to-letterA permutation from [0..9] to [0..9].
mpuz-found-digitsA vector recording which digits have been decrypted.
mpuz-frameworkThe general picture of the puzzle screen, as a string.
mpuz-in-progressNon-nil if a game is currently in progress.
mpuz-letter-to-digitThe inverse of ‘mpuz-digit-to-letter’.
mpuz-mode-abbrev-tableAbbrev table for ‘mpuz-mode’.
mpuz-mode-hookHook to run upon entry to mpuz.
mpuz-mode-mapLocal keymap to use in Mult Puzzle.
mpuz-mode-syntax-tableSyntax table for ‘mpuz-mode’.
mpuz-nb-completed-gamesNumber of games completed.
mpuz-nb-cumulated-errorsNumber of errors made in previous games.
mpuz-nb-errorsNumber of errors made in current game.
mpuz-silentSet this to nil if you want dings on inputs.
mpuz-solve-when-trivialSolve any row that can be trivially calculated from what you’ve found.
mpuz-trivial-digitsA vector recording which digits have been solved for you.

Defined functions (26)

mpuz()
mpuz-ask-for-try()
mpuz-build-random-perm()
mpuz-check-all-solved(&optional ROW COL)
mpuz-close-game()
mpuz-create-buffer()
mpuz-digit-solved-p(DIGIT)
mpuz-ding(ERROR)
mpuz-get-buffer()
mpuz-mode()
mpuz-offer-abort()
mpuz-paint-board()
mpuz-paint-digit(DIGIT)
mpuz-paint-errors()
mpuz-paint-number(N &optional EOL WORDS)
mpuz-paint-statistics()
mpuz-put-number-on-board(NUMBER ROW &rest COLUMNS)
mpuz-random-puzzle()
mpuz-show-solution(ROW)
mpuz-solve(&optional ROW COL)
mpuz-start-new-game()
mpuz-switch-to-window()
mpuz-to-digit(LETTER)
mpuz-to-letter(DIGIT)
mpuz-try-letter()
mpuz-try-proposal(LETTER-CHAR DIGIT-CHAR)

Defined faces (4)

mpuz-solvedFace for solved digits.
mpuz-textFace for text on right.
mpuz-trivialFace for trivial digits solved for you.
mpuz-unsolvedFace for letters to be solved.