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-gnuchess.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'chess-gnuchess.el') 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) -- cgit v1.2.3