diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-10 23:16:18 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-10 23:16:18 +0000 |
| commit | 5fbbfaf36f1dc7da3c7539568fe473bbf079c513 (patch) | |
| tree | 7c98cb4735fd68f85156a2f796c10b078231348d /chess-pos.el | |
| parent | e9f978733b11a619e0bf865653865ffaa07076b5 (diff) | |
*** no comment ***
Diffstat (limited to 'chess-pos.el')
| -rw-r--r-- | chess-pos.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-pos.el b/chess-pos.el index d24e206..fdc5f6d 100644 --- a/chess-pos.el +++ b/chess-pos.el @@ -231,6 +231,9 @@ color will do." (defsubst chess-pos-to-string (position &optional full) (chess-pos-to-fen position full)) +(defsubst chess-pos-from-string (fen) + (chess-fen-to-pos fen)) + (defconst chess-pos-piece-values '((?p . 1) (?n . 3) |
