summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-05-01 07:46:10 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-05-01 07:46:10 +0000
commitb49698115d01ea6d055263bb2ce815c879b04413 (patch)
treee6a47c66a00b45f0eef5c20bf15f96f83810e730 /chess-gnuchess.el
parent3d3bbb7d7de849b139e612ad069a530c8ef9c342 (diff)
fixes
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el5
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)))