]> code.delx.au - gnu-emacs-elpa/commitdiff
add chess-fischer-random-position into the Creating Positions Manual Section
authorMario Lang <mlang@delysid.org>
Wed, 7 Jan 2004 00:00:18 +0000 (00:00 +0000)
committerMario Lang <mlang@delysid.org>
Wed, 7 Jan 2004 00:00:18 +0000 (00:00 +0000)
chess-maint.el
chess-random.el
chess.texi

index 5a9b65b3c93da32c366457bc7d9c59c5dddd52c9..e1ae81e322109b3740786740b5b3f57c360dc5fb 100644 (file)
@@ -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)
index fc41853bf201da8efaf78a39c4a20a1f96750780..06a01e60e50ad0ae5cc41eb834819adc363318dc 100644 (file)
@@ -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))
index c6b9535a575d6771a9a585795cd01fb2323512a1..89cd356f7a408f31a466463ca38e21c2e5e02cf3 100644 (file)
@@ -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