Fix docstrings in pong
* lisp/play/pong.el (pong-move-left pong-move-right): Refer to the right bats and directions of movement. (Bug#36959)
This commit is contained in:
parent
82a2894be4
commit
fae1ff69c3
1 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@
|
||||||
|
|
||||||
|
|
||||||
(defun pong-move-left ()
|
(defun pong-move-left ()
|
||||||
"Move bat 2 up.
|
"Move bat 1 up.
|
||||||
This is called left for historical reasons, since in some pong
|
This is called left for historical reasons, since in some pong
|
||||||
implementations you move with left/right paddle."
|
implementations you move with left/right paddle."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
@ -274,7 +274,7 @@ implementations you move with left/right paddle."
|
||||||
|
|
||||||
|
|
||||||
(defun pong-move-right ()
|
(defun pong-move-right ()
|
||||||
"Move bat 2 up."
|
"Move bat 1 down."
|
||||||
(interactive)
|
(interactive)
|
||||||
(if (< (+ pong-bat-player1 pong-bat-width) (1- pong-height))
|
(if (< (+ pong-bat-player1 pong-bat-width) (1- pong-height))
|
||||||
(and
|
(and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue