summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2014-05-20 02:54:41 +0200
committerMario Lang <mlang@delysid.org>2014-05-20 02:54:41 +0200
commit940fce2ade6a25bf4462330f2feea8ef5a39906f (patch)
tree0bf231a2cf05fa0bd1296781cbb2089501af4cd6
parentb80ec2cceeac597b647253fc6a05c42028b372e1 (diff)
Add proper file header and a paragraph of commentary.
Additionally, clean up requires.
-rw-r--r--chess-tutorial.el34
1 files changed, 30 insertions, 4 deletions
diff --git a/chess-tutorial.el b/chess-tutorial.el
index 0875bca..3f3d885 100644
--- a/chess-tutorial.el
+++ b/chess-tutorial.el
@@ -1,10 +1,36 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;
-;; A special kind of display that merely autosaves the game
-;;
+;;; chess-tutorial.el --- A simple chess training display
+;; Copyright (C) 2002, 2004, 2014 Free Software Foundation, Inc.
+
+;; Author: John Wiegley <johnw@gnu.org>
+;; Maintainer: Mario Lang <mlang@delysid.org>
+;; Keywords: games
+
+;; This program is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; `M-x chess-tutorial' implements a simple knight movement exercise.
+;; The objective is to take all pawns on the chessboard without moving to a
+;; square which is attacked by a queen.
+
+;;; Code:
+
+(require 'chess)
(require 'chess-display)
(require 'chess-game)
+(require 'chess-message)
(chess-message-catalog 'english
'((queen-would-take . "The queen would take your knight!")