summaryrefslogtreecommitdiff
path: root/chess-engine.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-engine.el')
-rw-r--r--chess-engine.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el
index bbca8e2..83416514 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -7,6 +7,8 @@
;;; Commentary:
(require 'chess-game)
+(require 'chess-algebraic)
+(require 'chess-fen)
(defgroup chess-engine nil
"Code for reading movements and other commands from an engine."
@@ -77,7 +79,7 @@
((eq event 'resign)
(if chess-engine-game
- (chess-engine-resign chess-engine-game)))
+ (chess-game-resign chess-engine-game)))
((eq event 'setup)
(chess-game-set-start-position (chess-engine-game nil)