summaryrefslogtreecommitdiff
path: root/chess-standard.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-07 09:35:52 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-07 09:35:52 +0000
commit7c78603fa93ab75c4af436eeb9aeebf4139abf61 (patch)
treef712e3935ab81e83c2857475e36bfc93588c4243 /chess-standard.el
parent1198bebb0e77e0a6e687f1bc01ad0bc868cedf68 (diff)
*** no comment ***
Diffstat (limited to 'chess-standard.el')
-rw-r--r--chess-standard.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/chess-standard.el b/chess-standard.el
index 2324ad2..17b2f50 100644
--- a/chess-standard.el
+++ b/chess-standard.el
@@ -69,13 +69,12 @@ case of the PIECE determines color.
The return value is a list of candidates, which means a list of
indices which indicate where a piece may have moved from."
+ ;; jww (2002-04-07): This function is a bit slow
(let* ((color (if (char-valid-p piece)
(< piece ?a)
piece))
(bias (if color -1 1))
p pos candidates)
- ;; jww (2002-04-07): Don't return candidates that leave the king
- ;; in check.
(cond
;; if the piece is `t', it means to find the candidates resulting
;; from any piece movement. This is useful for testing whether a