diff options
| author | Mario Lang <mlang@delysid.org> | 2004-01-05 10:46:07 +0000 | 
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2004-01-05 10:46:07 +0000 | 
| commit | 0b042dade9f43b571873993ce5997c30a69c9c85 (patch) | |
| tree | 6f5a46056d49637cb859b7e5d5d7f223b4da91a9 /chess.texi | |
| parent | a4e7a18e4b9dd5a8684b3e0723f082c6c751959c (diff) | |
add three paragraphs from chess-pos.el commentary
Diffstat (limited to 'chess.texi')
| -rw-r--r-- | chess.texi | 10 | 
1 files changed, 10 insertions, 0 deletions
| @@ -121,12 +121,19 @@ Chess puzzles are most often provided as a set of positions.  @subsection Position coordinates +First of all, a coordinate system of octal indices is +used, where ?\044 signifies rank 4 file 4 (i.e., "e4").  Rank is +numbered 0 to 7, top to bottom, and file is 0 to 7, left to right. +  @c lispfun chess-index-rank  @c lispfun chess-index-file  @c lispfun chess-rf-to-index +For those who wish to use ASCII coordinates, such as "e4", there +are two conversion functions: +  @c lispfun chess-coord-to-index  @c lispfun chess-index-to-coord @@ -135,6 +142,9 @@ Chess puzzles are most often provided as a set of positions.  @subsection Position details +With an octal index value, you can look up what's on a particular +square, or set that square's value: +  @c lispfun chess-pos-piece  @c lispfun chess-pos-piece-p | 
