Function: bubbles--count
bubbles--count is a byte-compiled function defined in bubbles.el.gz.
Signature
(bubbles--count)
Documentation
Count remaining bubbles.
Source Code
;; Defined in /usr/src/emacs/lisp/play/bubbles.el.gz
(defun bubbles--count ()
"Count remaining bubbles."
(let ((count 0))
(save-excursion
(dotimes (i (bubbles--grid-height))
(dotimes (j (bubbles--grid-width))
(let ((c (bubbles--char-at i j)))
(if (not (eq c (bubbles--empty-char)))
(setq count (1+ count)))))))
count))