Mercurial > emacs
comparison lisp/play/snake.el @ 62770:93e71f3dcd14
* play/5x5.el (5x5-mode):
* play/decipher.el (decipher-mode, decipher-stats-mode):
* play/gomoku.el (gomoku-mode):
* play/snake.el (snake-mode):
* play/solitaire.el (solitaire-mode):
* play/tetris.el (tetris-mode): Use run-mode-hooks.
* play/landmark.el (lm-mode):
* play/mpuz.el (mpuz-mode): Use kill-all-local-variables and
run-mode-hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 26 May 2005 15:26:09 +0000 |
parents | eaa9acd9122c |
children | 18a818a2ee7c 01137c1fdbe9 |
comparison
equal
deleted
inserted
replaced
62769:a1fa16a75bde | 62770:93e71f3dcd14 |
---|---|
383 (setq gamegrid-use-glyphs snake-use-glyphs-flag) | 383 (setq gamegrid-use-glyphs snake-use-glyphs-flag) |
384 (setq gamegrid-use-color snake-use-color-flag) | 384 (setq gamegrid-use-color snake-use-color-flag) |
385 | 385 |
386 (gamegrid-init (snake-display-options)) | 386 (gamegrid-init (snake-display-options)) |
387 | 387 |
388 (run-hooks 'snake-mode-hook)) | 388 (run-mode-hooks 'snake-mode-hook)) |
389 | 389 |
390 ;;;###autoload | 390 ;;;###autoload |
391 (defun snake () | 391 (defun snake () |
392 "Play the Snake game. | 392 "Play the Snake game. |
393 Move the snake around without colliding with its tail or with the border. | 393 Move the snake around without colliding with its tail or with the border. |