Function: 5x5-solve-suggest

5x5-solve-suggest is an interactive and byte-compiled function defined in 5x5.el.gz.

Signature

(5x5-solve-suggest &optional N)

Documentation

Suggest to the user where to click.

Argument N is ignored.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/play/5x5.el.gz
(defun 5x5-solve-suggest (&optional _n)
  "Suggest to the user where to click.

Argument N is ignored."
  ;; For the time being n is ignored, the idea was to use some numeric
  ;; argument to show a limited amount of positions.
  (interactive "P" 5x5-mode)
  (5x5-log-init)
  (let ((solutions (5x5-solver 5x5-grid)))
    (setq 5x5-solver-output
	  (cons 5x5-moves solutions)))
  (5x5-draw-grid (list 5x5-grid))
  (5x5-position-cursor))