diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-02 08:30:46 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-02 08:30:46 +0000 |
| commit | f4e9c77bc700222590ada4799c619152354244f2 (patch) | |
| tree | 1c7d748f0a69f4d80afed3872d44dc37518ef8f2 /chess.el | |
| parent | 682348e8a4a0267bc7a512e4f684f9a50fdff5b1 (diff) | |
Coded engines as a separate library. Still work to be done here.
Diffstat (limited to 'chess.el')
| -rw-r--r-- | chess.el | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -134,7 +134,11 @@ a0 243 (ignore (let ((color (not (chess-session-data session 'my-color)))) (message "You are now playing %s" (if color "White" "Black")) - (chess-session-set-data session 'my-color (not color))))))) + (chess-session-set-data session 'my-color (not color))))) + + ((eq event 'move) + (chess-game-move (chess-session-data session 'current-game) + (car args))))) (aset chess-puzzle-locations 3 puzzle-engine))))))) (provide 'chess) |
