From 6c6ac9f984e65d81504bceb368a17792102f93b0 Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Wed, 7 Jan 2004 00:00:18 +0000 Subject: add chess-fischer-random-position into the Creating Positions Manual Section --- chess-maint.el | 1 + chess-random.el | 1 + chess.texi | 2 ++ 3 files changed, 4 insertions(+) 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 -- cgit v1.2.3