summaryrefslogtreecommitdiff
path: root/chess-crafty.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-28 16:09:14 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-28 16:09:14 +0000
commit80ab4cec14452a641e741d372037dafda16ee871 (patch)
tree352324dc62ffbd3c9c651a7154a2e88338144641 /chess-crafty.el
parent7248e5c89f6d53d3f2a4ecf511167af929241f76 (diff)
*** no comment ***
Diffstat (limited to 'chess-crafty.el')
-rw-r--r--chess-crafty.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/chess-crafty.el b/chess-crafty.el
index 9c3924e..509f749 100644
--- a/chess-crafty.el
+++ b/chess-crafty.el
@@ -32,6 +32,10 @@
(lambda ()
(setq chess-crafty-evaluation
(string-to-number (match-string 1))))))
+ (cons "{\\(Black\\|White\\) resigns}"
+ (function
+ (lambda ()
+ (funcall chess-engine-response-handler 'resign))))
(cons "\\(Illegal move\\|unrecognized/illegal command\\):\\s-*\\(.*\\)"
(function
(lambda ()