summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-01-27we can use chess-display-set-from-fen hereMario Lang
2004-01-27some reality syncMario Lang
2004-01-27a little sync with realityMario Lang
2004-01-27add in minimal docs for FEN, algebraic notation, and ICSMario Lang
2004-01-26(chess-pos-move): There was a bug in castling removal when a Rook moved, now ↵Mario Lang
compare chess-pos-can-castle and the source square of the moving piece to figure out if we need to remove castling priveledges
2004-01-26(chess-pos-legal-candidates): Remove the opponent pawn if we are capturing ↵Mario Lang
en passant. This fixes a bug where chess-legal-plies does not find an en passant if the pawn to be captured is giving check
2004-01-26new function chess-database-filename, also support it in scid and file dbsMario Lang
2004-01-25Added an argument to chess-search-position, so that if we areJohn Wiegley
searching for the source of an algebraic move, and it is not a castle, then do not check castle moves.
2004-01-23use apply in chess-database-queryMario Lang
2004-01-23support query tree-searchMario Lang
2004-01-23dont barf on unbound chess-module-regexp-alist, and add some docstringsMario Lang
2004-01-23docstring fixes + a redo of chess-game-seqMario Lang
2004-01-23fixes to make chess-scid read parsing workMario Lang
2004-01-21opening classification module based on the scid.eco file from scid 3.5Mario Lang
2004-01-20FEN notation actually specifies that field four (en passant) should denote ↵Mario Lang
the target square of the immenent capture, not the square of the piece about to be taken
2004-01-20catch manually typed resign and fix a bug where only one game could be ↵Mario Lang
played each session.
2004-01-20(chess-pos-to-fen): Dont emit a trailing / on rank 8.Mario Lang
2004-01-19tidyingMario Lang
2004-01-19minor changeMario Lang
2004-01-19rewrite this module such that it does not act as an engine, rather it ↵Mario Lang
invoked chess-sessions as needed. You need to use M-x chess-ics RET instead of C-u M-x chess RET ics RET now. Additionally, rewrite chess-ics-handle-ics12 such that it can handle the refresh command, and moves entered manually in the ICS buffer
2004-01-16We no longer need to dedvar chess-ai-regexp-alist withMario Lang
a nil value.
2004-01-16(chess-engine-create): Use `insern-soft' instead of `intern'Mario Lang
to copy the engine-regexp-alist.
2004-01-15adding description of the module systemJohn Wiegley
2004-01-14elisp header + homepage linkMario Lang
2004-01-14Module for the sjeng engine (promotion still doesnt work.)Mario Lang
2004-01-14`let'-bind case-fold-search nil in chess-algebraic-to-ply:Mario Lang
This fixes a bug where b8c6 is parsed to c7-c6.
2004-01-13Initial skeleton for Game Creating messages.Mario Lang
Support relation-type -2 (Examining game). Handle the 'forward event. (Now you can use the "examine" command on FICS, and simply type '.' in the ChessBoard display to forward through the game.)
2004-01-13(chess-display-set-index): If INDEX is greater than chess-game-index,Mario Lang
and the last ply is not final, we emit a 'forward chess-module-game event to give ics a chance to issue "forward\n". This makes '.' work as expected in examined games.
2004-01-12pv information computed using crafty 19.8 on a 2 cpu xeon 2.6GHZ system ↵Mario Lang
using 40 minutes time for each position
2004-01-12(chess-ics-server-list): Added some more servers.Mario Lang
(chess-ics-regexp-alist): Make guest login on chessclub.com work. (chess-ics-handle-ics12): Retrieve TimeControl info from the ics12 board and set TimeControl game tag when initial board is seen.
2004-01-12pv information calculated using crafty 19.8 with about 30 minutes time per ↵Mario Lang
position
2004-01-11set epd opcode ce from material-value and checkmate infoMario Lang
2004-01-11Merge chess-ics-parse-ics12 and chess-ics-handle-move intoMario Lang
a new function chess-ics-handle-ics12, which is a lot easier to read now. Also make the <12> regexp a bit more strict to avoid false positives.
2004-01-11(chess-clock-tick-tock): Do not decrease time if (chess-game-status ↵Mario Lang
chess-module-game) is non-nil.
2004-01-11fixed messed up parensMario Lang
2004-01-11(chess-ics-handler): Read the password before opening the connection.Mario Lang
This corrects a race where the password can be unknown when the prompt appears because the user hasnt finished typing yet... (chess-ics12-parse): Use `pop' to make stuff simpler and use `mapc' to get castling info. Indent chess-ics-regexp-alist differently.
2004-01-11In chess-engine-default-handler, when 'match is accepted, we wereMario Lang
calling (chess-engine-command nil 'accept chess-full-name) which doesnt make much sense, and breaks chess-ics game accepting. change it to `name', to pass the opponent name for whom we are accepting a match request.
2004-01-11On GNU Emacs 21.3, :eval in mode-line-data seems only to work if itMario Lang
directly appears in mode-line-format. chess-display indirectly referenced chess-display-mode-line-format by setting mode-line-format to that symbol. If we set mode-line-format to the value of chess-display-mode-line-format, the mode-line comes to life again!
2004-01-10Fix a bug in chess-game-seq (at least I think it is supposed to work like it ↵Mario Lang
does ow)
2004-01-10Support for xboards analyze mode.Mario Lang
(chess-engine-command crafty 'analyze t) enables analyze mode and eventually sets chess-crafty-analyzing-p to t. When new predicted variations arrive, corresponding epd opcodes are set for (chess-engine-position nil): acd, ce, pv (acn is not set because it is likely that it overflows the emacs integer bounds, and I am not yet sure what to do about this.) (chess-engine-command crafty 'analyze nil) turns analyze mode off again.
2004-01-10blah, this isnt healthy.Mario Lang
2004-01-10a change to the faces and a fix for chess-plain-spacing > 0 and file naming, ↵Mario Lang
all from kanaldrache, thanks
2004-01-10Use Crafty's xboard protocol layer for communication:Mario Lang
Since recent >19.x crafty, there is something strange going on with display nogeneral. Another bug which appears sometimes is that crafty (in its own mode of displaying stuff) echos the oponent move (our move) which raises an error (obviously). xboard mode is really a lot easier to parse, and I even managed to keep the 'evaluate event without any problems.
2004-01-09speed up chess-epd-read-file by using nconcMario Lang
2004-01-09support (convert) opcodes sm and svMario Lang
2004-01-09use zeropMario Lang
2004-01-09require 'chess-varMario Lang
2004-01-09use `chess-var-to-algebraic'.Mario Lang
2004-01-09New function chess-var-to-algebraicMario Lang
2004-01-07new file, implements opcodes am, bm, ce, pm and pvMario Lang