Function: pong
pong is an autoloaded, interactive and byte-compiled function defined
in pong.el.gz.
Signature
(pong)
Documentation
Play pong and waste time.
This is an implementation of the classical game pong. Move left and right bats and try to bounce the ball to your opponent.
pong-mode keybindings:
2 pong-move-down
4 pong-move-left
6 pong-move-right
8 pong-move-up
<down> pong-move-down
<left> pong-move-left
<right> pong-move-right
<up> pong-move-up
p pong-pause
q pong-quit
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/play/pong.el.gz
;;;###autoload
(defun pong ()
"Play pong and waste time.
This is an implementation of the classical game pong.
Move left and right bats and try to bounce the ball to your opponent.
pong-mode keybindings:\\<pong-mode-map>
\\{pong-mode-map}"
(interactive)
(setq pong-score-player1 0)
(setq pong-score-player2 0)
(pong-init))