From e0d27e16375133dbc77778a5787842017673dc4b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 10 Apr 2002 22:58:11 +0000 Subject: added support in chess-link.el to link two engines together. if both are computers, then they will play head to head --- chess.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chess.el') diff --git a/chess.el b/chess.el index c789d05..1f9654e 100644 --- a/chess.el +++ b/chess.el @@ -129,8 +129,10 @@ minibuffer, which works well for Emacspeak users." (chess-display-set-main display) (let ((engine-module (if arg - (intern (or (read-string "Engine module to play against: ") - "chess-none")) + (intern + (or (concat "chess-" + (read-string "Engine module to play against: ")) + "chess-none")) chess-default-engine))) (let ((engine-module (or engine chess-default-engine))) (let ((engine (chess-engine-create engine-module))) -- cgit v1.2.3