File: pong.el.html

This is an implementation of the classical game pong.

Defined variables (24)

pong-ball-colorColor used for the ball.
pong-bat-colorColor used for bats.
pong-bat-player1Vertical position of bat 1.
pong-bat-player2Vertical position of bat 2.
pong-bat-widthWidth of the bats for pong.
pong-blank-colorColor used for background.
pong-border-colorColor used for pong borders.
pong-buffer-nameName of the buffer used to play.
pong-down-keyAlternate key to press for bat 2 to go down (primary one is [down]).
pong-heightHeight of the playfield.
pong-left-keyAlternate key to press for bat 1 to go up (primary one is [left]).
pong-mode-mapModemap for pong-mode.
pong-null-mapNull map for pong-mode.
pong-pause-keyKey to press to pause pong.
pong-quit-keyKey to press to quit pong.
pong-resume-keyKey to press to resume pong.
pong-right-keyAlternate key to press for bat 1 to go down (primary one is [right]).
pong-timer-delayTime to wait between every cycle.
pong-up-keyAlternate key to press for bat 2 to go up (primary one is [up]).
pong-widthWidth of the playfield.
pong-xHorizontal position of the ball.
pong-xxHorizontal speed of the ball.
pong-yVertical position of the ball.
pong-yyVertical speed of the ball.

Defined functions (14)

pong()
pong-display-options()
pong-init()
pong-init-buffer()
pong-move-down()
pong-move-left()
pong-move-right()
pong-move-up()
pong-pause()
pong-quit()
pong-resume()
pong-update-bat(X Y)
pong-update-game(PONG-BUFFER)
pong-update-score()

Defined faces (0)