summaryrefslogtreecommitdiff
path: root/chess-gnuchess.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-gnuchess.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-gnuchess.el')
-rw-r--r--chess-gnuchess.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index 1f0e68b..e53c871 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -48,10 +48,7 @@
((eq event 'move)
(unless chess-gnuchess-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-gnuchess)