diff options
Diffstat (limited to 'chess-engine.el')
| -rw-r--r-- | chess-engine.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chess-engine.el b/chess-engine.el index 3bbfb91..678f5c3 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -139,6 +139,11 @@ (defun chess-engine-move (engine ply) (chess-with-current-buffer engine + (cond + (chess-engine-game + (chess-game-move chess-engine-game ply)) + (chess-engine-position + (apply 'chess-pos-move ply))) (chess-engine-command engine 'move ply))) (defun chess-engine-pass (engine ply) |
