summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-01-07 00:00:18 +0000
committerMario Lang <mlang@delysid.org>2004-01-07 00:00:18 +0000
commit6c6ac9f984e65d81504bceb368a17792102f93b0 (patch)
treeb0fecef384e680435c183ce91ffa61d207f214f4
parentd5ccbd3bd0cd234c91ba0ef72eab97b2b0ea91c1 (diff)
add chess-fischer-random-position into the Creating Positions Manual Section
-rw-r--r--chess-maint.el1
-rw-r--r--chess-random.el1
-rw-r--r--chess.texi2
3 files changed, 4 insertions, 0 deletions
diff --git a/chess-maint.el b/chess-maint.el
index 5a9b65b..e1ae81e 100644
--- a/chess-maint.el
+++ b/chess-maint.el
@@ -23,6 +23,7 @@
(require 'chess-pgn)
(require 'chess-ply)
(require 'chess-pos)
+ (require 'chess-random)
(require 'chess-var)
(require 'chess)
(texinfo-insert-node-lines (point-min) (point-max) t)
diff --git a/chess-random.el b/chess-random.el
index fc41853..06a01e6 100644
--- a/chess-random.el
+++ b/chess-random.el
@@ -26,6 +26,7 @@
;;;###autoload
(defun chess-fischer-random-position ()
+ "Generate a Fischer Random style position."
(let (pieces position)
(while (null position)
(setq pieces (chess-shuffle-vector pieces-vector))
diff --git a/chess.texi b/chess.texi
index c6b9535..89cd356 100644
--- a/chess.texi
+++ b/chess.texi
@@ -119,6 +119,8 @@ Chess puzzles are most often provided as a set of positions.
@defvar chess-starting-position
@end defvar
+@c lispfun chess-fischer-random-position
+
@subsection Position coordinates
First of all, a coordinate system of octal indices is