summaryrefslogtreecommitdiff
path: root/chess-crafty.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-08 03:37:26 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-08 03:37:26 +0000
commitb60fd83dd950c2c5ef04f23f25bf0d25ac9c11db (patch)
treefb1c6e3aced45c08bcd1a3ee173a1c21afeff704 /chess-crafty.el
parent48b77c46e15e664ffeab0c612418f4505c48f7b8 (diff)
Simplified the code, removed the 'search-function' nonsense. Even the
wackiest chess variants use standard move notation. `chess-ply-create' now fully validates and annotates the plies that it creates, based on the initial piece move (such as the king, in the case of castling).
Diffstat (limited to 'chess-crafty.el')
-rw-r--r--chess-crafty.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/chess-crafty.el b/chess-crafty.el
index d3f1da0..0c0ffe0 100644
--- a/chess-crafty.el
+++ b/chess-crafty.el
@@ -67,10 +67,7 @@
((eq event 'move)
(unless chess-crafty-now-moving
- (chess-engine-send
- nil (concat (chess-ply-to-algebraic
- (car args) nil
- (chess-engine-search-function nil)) "\n"))))))
+ (chess-engine-send nil (concat (chess-ply-to-algebraic (car args)) "\n"))))))
(provide 'chess-crafty)