From 059e5edba1175504698637f734eb5bf975b299fa Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 1 Mar 2002 08:08:28 +0000 Subject: Playing against crafty now works. --- chess-standard.el | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'chess-standard.el') diff --git a/chess-standard.el b/chess-standard.el index 4e11b1f..bc45d3f 100644 --- a/chess-standard.el +++ b/chess-standard.el @@ -23,6 +23,11 @@ ;; $Revision$ +(require 'chess-session) +(require 'chess-pos) +(require 'chess-ply) +(require 'chess-game) + (defgroup chess-standard nil "The rules of standard chess." :group 'chess) @@ -138,12 +143,12 @@ indices which indicate where a piece may have moved from." (1 0))) ((= (upcase piece) ?B) '((-1 -1) (-1 1) - + (1 -1) (1 1))) ((= (upcase piece) ?Q) '((-1 -1) (-1 0) (-1 1) - (0 -1) (0 1) - (1 -1) (1 0) (1 1))))) + (0 -1) (0 1) + (1 -1) (1 0) (1 1))))) ;; up the current file (setq pos (apply 'chess-add-index target dir)) (while pos -- cgit v1.2.3