diff options
| -rw-r--r-- | chess-game.el | 2 | ||||
| -rw-r--r-- | chess.texi | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/chess-game.el b/chess-game.el index 98ecc97..44df33d 100644 --- a/chess-game.el +++ b/chess-game.el @@ -110,7 +110,7 @@ progress (nil), if it is drawn, resigned, mate, etc." ((or (memq ':resign changes) (memq ':checkmate changes)) (chess-game-set-tag game "Result" - (if (chess-pos-side-to-move (chess-game-pos game)) + (if (chess-game-side-to-move game) "0-1" "1-0"))) (t (nconc (cdr game) (list (chess-ply-create @@ -313,6 +313,9 @@ an example of how to make use of the library. @defun chess-game-seq game @end defun +@defun chess-game-side-to-move game +@end defun + @node Game plies, , Game positions, Games @subsection Game plies |
