From c7e39a22fe0a2bc6da7226fcb29f42fc65e08659 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 3 Apr 2002 06:34:25 +0000 Subject: Gnuchess can be played against (up until a pawn take occurs). --- chess-ply.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chess-ply.el') diff --git a/chess-ply.el b/chess-ply.el index 6b810d4..f5261b9 100644 --- a/chess-ply.el +++ b/chess-ply.el @@ -68,7 +68,9 @@ (chess-ply-changes ply))) (defsubst chess-ply-create (position &rest changes) - (cons position changes)) + ;; jww (2002-04-02): if changes is a castling maneuver, then + ;; annotate and extend the ply correctly + (cons (chess-pos-copy position) changes)) (defun chess-legal-plies (position &optional search-func) "Return a list of all legal plies in POSITION." -- cgit v1.2.3