summaryrefslogtreecommitdiff
path: root/chess-ai.el
AgeCommit message (Collapse)Author
7 daysfix: all: fixes to get emacs-chess working on 30.2Craig Jennings
- added lexical-binding headers to all source files - replaced make-variable-buffer-local with defvar-local throughout source code - replaced deprecated cl library with cl-lib, including replacing assert with cl-assert to emacs-chess-steps.el - added proper headers and footers to test files when missing - populated chess images and chess sounds directory - fixed defcustom calling directory-files without error handling. xboard installation no longer required.
2014-06-04Sync from ELPA.Mario Lang
2014-05-20Upgrade to GPLv3+.Mario Lang
2014-04-25chess-ai-eval-static: Avoid checking for mate if we just count mobility.Mario Lang
2014-04-23docstring fixes.Mario Lang
2014-04-16chess-ai.el: Spare computing time by consulting the opening book.Mario Lang
2014-04-15chess-ai.el: Oops, cl-delete-if only at runtime.Mario Lang
2014-04-15chess-ai.el: No need for cl-sort.Mario Lang
2014-04-13chess-ai.el: Require cl-lib at runtime for cl-sort.Mario Lang
2014-04-10chess-ai.el: Better top-level move ordering and quiescence pruning.Mario Lang
2014-04-10chess-ai.el: Rename functions and fix a subtle bug in quiescence search ↵Mario Lang
termination.
2014-04-10chess-ai.el: Cleanup.Mario Lang
2014-04-09chess-ai.el: Quiescence search.Mario Lang
This change finally fixes the internal Emacs Lisp based AI enough to be an interesting opponent. Search is of course very slow, and rather shallow (2 plies + quiescence by default) but the AI can finally defend itself against simple attacks, and sees opportunities as expected.
2014-04-08chess-ai.el: Ply ordering + a bit of progress reporting.Mario Lang
2014-04-08chess-ai.el: Simpler search function, progress reporter and bug fixed.Mario Lang
2008-09-01Only require 'cl when byte-compiling chess-ai. We don't yet use the CLJohn Wiegley
compatability functions at runtime.
2008-08-29Several changes to fix byte-compile warnings, changed some iso-8859-1 encodedJohn Wiegley
files to UTF-8, and switched to using insert-file-contents instead of the -literally variant (which doesn't respect content encodings).
2004-03-01(chess-eval-static). Try to reward passed pawns and piece mobilityMario Lang
2004-02-22(chess-eval-static): Primitive mobility handling, makes play a lot more ↵Mario Lang
aggressive :)
2004-02-22reward passed pawns, and make the code a bit fasterMario Lang
2004-01-16We no longer need to dedvar chess-ai-regexp-alist withMario Lang
a nil value.
2004-01-06Require cl and add message callsMario 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-04still not working properly (only display is broken)Mario Lang
2004-01-04first version of a alpha-beta puring search aiMario Lang