(snake-velocity-queue, snake-update-velocity)
commit5bcfaa0725c2f2733339b90a38c8f1a8c37a4283
authorRichard M. Stallman <rms@gnu.org>
Fri, 22 Feb 2002 15:19:06 +0000 (22 15:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 22 Feb 2002 15:19:06 +0000 (22 15:19 +0000)
tree637dbee327cf7d8237cf479b7d413dfeeaeb6ec8
parent9feba2810758dfc140484caf3963f55e3e7e287b
(snake-velocity-queue, snake-update-velocity)
(snake-final-x-velocity, snake-final-y-velocity):
New variable and functions.  Store user's keypresses
into a queue and pop from the queue each subsequent turn.
(snake-update-game, snake-move-left)
(snake-move-right, snake-move-up, snake-move-down, snake-active-p)
(snake-start-game): Use that queue.
(snake-use-glyphs-flag): Renamed from snake-use-glyphs.
(snake-use-color-flag): Likewise.
(snake-mode): Rename uses of those variables.
lisp/play/snake.el