summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2004-01-07remov chess-pos-read-epd-fileMario Lang
2004-01-07make chess-display-create interactive, and document chess-display-quitMario Lang
2004-01-07add chess-fischer-random-position into the Creating Positions Manual SectionMario Lang
2004-01-06skels for chess-databaseMario Lang
2004-01-06Require cl and add message callsMario Lang
2004-01-06some docstringsMario Lang
2004-01-06add @c lispfun for chess-ply-source and chess-ply-targetMario Lang
2004-01-06add &optional index to chess-var-side-to-move (sync with ↵Mario Lang
chess-game-side-to-move) and document it, mirroring chess-game-side-to-move docstring.
2004-01-06document chess-game-side-to-moveMario Lang
2004-01-06*Mario Lang
2004-01-06It mostly works now, only remaining problem is that the players moveMario Lang
is only displayed after the engine found a reply.
2004-01-05checkdoc attempt, some ver ysimple (I hope correct) docstrings addedMario Lang
2004-01-05next-pos has correct status now, added chess-file (epd) itemMario Lang
2004-01-05add three paragraphs from chess-pos.el commentaryMario Lang
2004-01-04still not working properly (only display is broken)Mario Lang
2004-01-04first version of a alpha-beta puring search aiMario Lang
2004-01-04Set status of next-pos according to changes of plyMario Lang
2004-01-04grrr, circular requireMario Lang
2004-01-04crafty is fixed againMario Lang
2004-01-03New function chess-pos-read-epd-file, which parses an epd file into a list ↵Mario Lang
of positions
2004-01-02requires chess-posMario Lang
2004-01-02Insert STRING in chess-engine-send, makes debugging easierMario Lang
2004-01-02display nogeneral seems to no longer display computer moves on newer ↵Mario Lang
crafties. At least removing display nogeneral makes crafty work again