diff options
Diffstat (limited to 'chess-gnuchess.el')
| -rw-r--r-- | chess-gnuchess.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el index 5281774..5de6a73 100644 --- a/chess-gnuchess.el +++ b/chess-gnuchess.el @@ -44,7 +44,7 @@ (when (and (processp proc) (eq (process-status proc) 'run)) (process-send-string proc "nopost\n") - (setq chess-engine-opponent-name "Crafty") + (setq chess-engine-opponent-name "GnuChess") t))) ((eq event 'setup-pos) @@ -68,8 +68,7 @@ (setq chess-gnuchess-bad-board nil)) ((eq event 'move) - (chess-engine-send nil (concat (chess-ply-to-algebraic (car args)) - "\n")) + (chess-common-handler game 'move (car args)) (when chess-gnuchess-bad-board (chess-engine-send nil "go\n") (setq chess-gnuchess-bad-board nil))) |
