comparison lisp/play/bubbles.el @ 82922:16c56e4babd8

Comments munging; nfc. Move defconst after ";;; Code:".
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Mon, 27 Aug 2007 18:53:52 +0000
parents d6f5e792bbb2
children bb20f4e17041
comparison
equal deleted inserted replaced
82921:d6f5e792bbb2 82922:16c56e4babd8
1 ;;; bubbles.el --- Puzzle game for Emacs. 1 ;;; bubbles.el --- Puzzle game for Emacs.
2 2
3 ;; Copyright (C) 2007 Free Software Foundation, Inc. 3 ;; Copyright (C) 2007 Free Software Foundation, Inc.
4 4
5 ;; This file is NOT part of GNU Emacs.
6
7 ;; Author: Ulf Jasper <ulf.jasper@web.de> 5 ;; Author: Ulf Jasper <ulf.jasper@web.de>
8 ;; Filename: bubbles.el
9 ;; URL: http://ulf.epplejasper.de/ 6 ;; URL: http://ulf.epplejasper.de/
10 ;; Created: 5. Feb. 2007 7 ;; Created: 5. Feb. 2007
11 ;; Keywords: Games 8 ;; Keywords: games
12 ;; Time-stamp: "27. August 2007, 19:51:08 (ulf)" 9
13 ;; CVS-Version: $Id: bubbles.el,v 1.16 2007-08-27 17:51:29 ulf Exp $ 10 ;; This file is part of GNU Emacs.
14 11
15 ;; ====================================================================== 12 ;; GNU Emacs is free software; you can redistribute it and/or modify
16
17 ;; This program is free software; you can redistribute it and/or modify
18 ;; it under the terms of the GNU General Public License as published by 13 ;; it under the terms of the GNU General Public License as published by
19 ;; the Free Software Foundation; either version 2 of the License, or (at 14 ;; the Free Software Foundation; either version 3, or (at your option)
20 ;; your option) any later version. 15 ;; any later version.
21 16
22 ;; This program is distributed in the hope that it will be useful, but 17 ;; GNU Emacs is distributed in the hope that it will be useful,
23 ;; WITHOUT ANY WARRANTY; without even the implied warranty of 18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
24 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 ;; General Public License for more details. 20 ;; GNU General Public License for more details.
26 21
27 ;; You should have received a copy of the GNU General Public License 22 ;; You should have received a copy of the GNU General Public License
28 ;; along with this program; if not, write to the Free Software Foundation, 23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
29 ;; Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
30 25 ;; Boston, MA 02110-1301, USA.
31 (defconst bubbles-version "0.4" "Version number of bubbles.el.")
32
33 ;; ======================================================================
34 26
35 ;;; Commentary: 27 ;;; Commentary:
36 28
37 ;; Bubbles is a puzzle game. Its goal is to remove as many bubbles as 29 ;; Bubbles is a puzzle game. Its goal is to remove as many bubbles as
38 ;; possible in as few moves as possible. 30 ;; possible in as few moves as possible.
39 31
40 ;; Bubbles is an implementation of the "Same Game", similar to "Same 32 ;; Bubbles is an implementation of the "Same Game", similar to "Same
41 ;; GNOME" and many others, see http://en.wikipedia.org/wiki/SameGame. 33 ;; GNOME" and many others, see <http://en.wikipedia.org/wiki/SameGame>.
42 34
43 ;; Installation 35 ;; Installation
44 ;; ------------ 36 ;; ------------
45 37
46 ;; Add the following lines to your Emacs startup file (`~/.emacs'). 38 ;; Add the following lines to your Emacs startup file (`~/.emacs').
83 ;; Initial release. Tested with GNU Emacs 22.0.93 and 21.4.1. 75 ;; Initial release. Tested with GNU Emacs 22.0.93 and 21.4.1.
84 76
85 ;; ====================================================================== 77 ;; ======================================================================
86 78
87 ;;; Code: 79 ;;; Code:
80
81 (defconst bubbles-version "0.4" "Version number of bubbles.el.")
88 82
89 (require 'gamegrid) 83 (require 'gamegrid)
90 (require 'cl) 84 (require 'cl)
91 85
92 ;; User options 86 ;; User options