summaryrefslogtreecommitdiff
path: root/chess-engine.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-engine.el')
-rw-r--r--chess-engine.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/chess-engine.el b/chess-engine.el
index 23622ed..396b6c4 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -71,6 +71,7 @@
(let ((game (chess-engine-game nil)))
(when (and game (chess-game-get-data game 'my-color)
(= (chess-game-index game) 0))
+ (message "Your opponent played the first move, you are now black")
(chess-game-run-hooks game 'pass)
;; if no one else flipped my-color, we'll do it
(if (chess-game-get-data game 'my-color)