Variable: tetris-update-speed-function

tetris-update-speed-function is a customizable variable defined in tetris.el.gz.

Value

tetris-default-update-speed-function

Documentation

Function run whenever the Tetris score changes.

Called with two arguments: (SHAPES ROWS) SHAPES is the number of shapes which have been dropped. ROWS is the number of rows which have been completed.

If the return value is a number, it is used as the timer period.

Source Code

;; Defined in /usr/src/emacs/lisp/play/tetris.el.gz
(defcustom tetris-update-speed-function
  'tetris-default-update-speed-function
  "Function run whenever the Tetris score changes.
Called with two arguments: (SHAPES ROWS)
SHAPES is the number of shapes which have been dropped.
ROWS is the number of rows which have been completed.

If the return value is a number, it is used as the timer period."
  :type 'function)