diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-03-02 05:45:35 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-03-02 05:45:35 +0000 |
| commit | 7f946fed143e9f3db6594297dcad0a46b2ce3838 (patch) | |
| tree | 6592e51ee026a3f30987d466c3d957a622d1ea79 /chess-game.el | |
| parent | 18883992b9cdfd564f7089f16c8ae3bd556b751e (diff) | |
Added chess-game-side-to-move back.
Diffstat (limited to 'chess-game.el')
| -rw-r--r-- | chess-game.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-game.el b/chess-game.el index 177e163..98ecc97 100644 --- a/chess-game.el +++ b/chess-game.el @@ -64,6 +64,9 @@ "Return the current GAME sequence." (1+ (/ (chess-game-index game) 2))) +(defsubst chess-game-side-to-move (game) + (chess-pos-side-to-move (chess-game-pos game))) + (defun chess-game-ply (game &optional index) "Return the position related to GAME's INDEX position." (if index |
