Commit fae1ff69 authored by Mauro Aranda's avatar Mauro Aranda Committed by Eli Zaretskii
Browse files

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)
parent 82a2894b
Pipeline #2805 failed with stage
in 50 minutes and 28 seconds
...@@ -262,7 +262,7 @@ ...@@ -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." ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment