From b60fd83dd950c2c5ef04f23f25bf0d25ac9c11db Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 8 Apr 2002 03:37:26 +0000 Subject: 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). --- chess-crafty.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'chess-crafty.el') 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) -- cgit v1.2.3