summaryrefslogtreecommitdiff
path: root/chess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-09 09:55:46 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-09 09:55:46 +0000
commit4a5de0c46970e59b1cb890cdb6cdfdcae47b34a8 (patch)
treeca142c5950172456afc075c157fde526473f4efc /chess.el
parent456d3cdaf4559b55f424fac8f5742473ac79224b (diff)
*** no comment ***
Diffstat (limited to 'chess.el')
-rw-r--r--chess.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/chess.el b/chess.el
index 3fb0a6f..76f26be 100644
--- a/chess.el
+++ b/chess.el
@@ -111,9 +111,13 @@ minibuffer, which works well for Emacspeak users."
(interactive "P")
(let ((game (chess-game-create)) ; start out as white always
display engine)
+ (game (chess-game-create)))
+ (chess-game-set-data game 'my-color t)
+
(require chess-default-display)
(chess-display-set-game
(chess-display-create chess-default-display t) game)
+ (chess-display-set-main display)
(let ((engine-module
(if arg
(intern (or (read-string "Engine module to play against: ")