Function: bubbles--update-neighborhood-score

bubbles--update-neighborhood-score is a byte-compiled function defined in bubbles.el.gz.

Signature

(bubbles--update-neighborhood-score SIZE)

Documentation

Calculate and display score of active neighborhood from its SIZE.

Source Code

;; Defined in /usr/src/emacs/lisp/play/bubbles.el.gz
(defun bubbles--update-neighborhood-score (size)
  "Calculate and display score of active neighborhood from its SIZE."
  (if (> size 1)
      (setq bubbles--neighborhood-score (expt (- size 1) 2))
    (setq bubbles--neighborhood-score 0))
  (bubbles--show-scores))