diff options
| -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 |
