Commit graph

20 commits

Author SHA1 Message Date
veego
656a76981f Fetch it again from the main ftp site and not from the MASTER_SITE_BACKUP. 2001-10-07 09:32:02 +00:00
wiz
9b558dd499 Update to 18.10, as requested in pkg/13795.
Changes since 18.9:
minor bug in book.c would let crafty play lines that were very
rarely played even though there were others that had been played
far more times and were more reliable.  king safety scores ramped
up a bit and made more "responsive".
2001-09-14 22:09:45 +00:00
jlam
eb13e77ecd Try fetch first from ${MASTER_SITE_BACKUP}. Partially fixes problem noted
in pkg/13795 by John Klos <john@sixgirls.org>.
2001-09-14 07:49:42 +00:00
agc
a16fc84f19 Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:
WRKSRC= ${WRKDIR}

This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).
2001-09-09 20:36:07 +00:00
dmcmahill
741c9f1ec2 make sure this compiles on sparc by using .S instead of .s for the
assembly file so that the preprocessor gets run first.

tried a short game, seems to work even.
2001-06-01 00:38:51 +00:00
wiz
daff086c30 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 02:08:16 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
jlam
6fa0984de3 Update crafty to 18.9. Changes to version 18.8:
18.9    Book() modified to increase the responsiveness of book learning.
        the new code, plus the default weights for the book parameters
        now make Crafty learn very aggressively and repeat good opening
        lines and avoid bad ones.
2001-03-29 15:26:31 +00:00
jlam
41af5daada Update crafty to 18.8. Changes from version 18.7:
18.8    recapture extension turned back on for a while.  changes to the
        evaluation code, particularly EvaluatePawns() to make it more
        efficient and accurate.  IE it was possible for an isolated pawn
        to be penalized for being isolated, weak, and blocked, which made
        little sense.
2001-03-28 18:17:57 +00:00
jlam
225ebb72b0 Update crafty to 18.7. Changes from version 18.6:
18.7    BOOK_CLUSTER_SIZE increased to 2000 to handle making really large
        books.  a book made without this change could produce clusters
        that would cause memory overwrites.
2001-03-21 03:23:04 +00:00
jlam
d9118af118 Update crafty to 18.6. Changes from version 18.5:
18.6    "new" no longer produces a new log.nnn/game.nnn file if no moves
        have actually been played.  minor change to rook scoring gives a
        penalty when a rook has no horizontal (rank) mobility, to avoid
        moves like Ra2 protecting the pawn on b2, etc. glitch in the
        code that initializes is_outside[][] and is_outside_c[][] could
        cause missed outside pawn cases to happen.  this has been there
        a long time.
2001-03-16 15:08:51 +00:00
jlam
2395219c63 Update crafty to 18.5. Changes from version 18.4:
18.5    minor change to RootMove() to use Quiesce() rather than the more
        complicated way it was ordering with Evaluate()/EnPrise().  this
        is no faster, but it is simpler and eliminated the need for the
        EnPrise() function totally, making the code a bit smaller.  bug
        in EvaluateDraws() would let it think that the bishop+wrong rook
        pawn endings were winnable if both kings were very close to the
        queening square, even with the wrong bishop.
2001-03-12 03:43:30 +00:00
jlam
541a6edf89 Update crafty to 18.4. Changes from version 18.3:
18.4    recapture extension was left in SearchSMP() erroneously.  this
        has now been protected by a #ifdef just like it was in Search().
        bug in RepetitionCheck() was causing problems in SMP versions.
        The entire repetition list code was modified to clean this up.
        the problem was most noticable on things like fine #70.  bug in
        LearnImportBook() confused the learn value sign, due to the other
        changes to make +=white all the time.  opposite bishop scoring
        has been beefed up a bit to avoid these drawish endings.
2001-03-09 19:55:58 +00:00
wiz
9f28a7693e Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:10:41 +00:00
jlam
e34fb98216 Update crafty to 18.3. This is a bugfix release over version 18.2. Changes
include:

18.3    minor bug in "avoid_null_move" test used R=2 for the test rather
        than testing R=2/3 as the real null-move search uses.  the kibitz
        for "Hello from Crafty Vx.xx" has been moved so that it works
        with the new xboard/winboard 4.2.2 versions.  book learning was
        badly broken in the previous version and has been fixed/tested.
2001-02-13 03:04:00 +00:00
jlam
475c3af361 Update crafty to 18.2. Changes from version 18.1 include:
The main feature is that it fixes the winboard hang problem when crafty plays
black on a chess server.  It also has much more aggressive book learning (code
has been significantly changed).  A minor bug was fixed in analyze mode that
would break the "h" command when black was on move, and show one less move for
either side that had actually been played in the game.  Another fixed bug
reversed the sign of a score whispered in analysis mode.

Pkgsrc changes include fixing the build target on Solaris (untested).
2001-02-08 17:23:46 +00:00
jlam
21b8faaeb9 Allow generated code to execute on 386-class machines. People wanting to
optimize Crafty for i[456]86 can set CFLAGS appropriately in /etc/mk.conf.
2001-01-15 07:00:03 +00:00
jlam
cec574ecbe Update crafty to 18.1. Changes from version 17.14 include bug fixes to the
evaluation function, improved castling strategy when facing a stonewall,
and full support for the xboard protocol version 2.
2001-01-14 04:42:43 +00:00
jlam
9c3064b08d Update crafty to 17.14. The author kindly accepted all patches back into the
main source tree, so no more pkgsrc patches.  Changes from version 17.13:

        another endgame evaluation problem fixed.  the outside passed
        pawn code worked well, up until the point the pawn had to be
        given up to decoy the other side's king away from the remainder
        of the pawns.  Crafty now understands the king being closer to
        the pawns than the enemy king, and therefore transitions from
        outside passer to won king-pawn ending much cleaner.

        new command "selective" as requested by S. Lim, which allows the
        user to set the min/max null move R values (default=2/3).  they
        can be set to 0 which disables null-move totally, or they can be
        set larger than the default for testing.

        minor changes to init.c sent by Eugene Nalimov to handle 64 bit
        pointer declarations for win64 executable compilation.

        NetBSD changes included along with a new Makefile that requires
        no editing to use for any known configuration ("make help" will
        explain how to use it).  this was submitted by Johnny Lam.

        serious changes to the outside passed pawn code.  the evaluator
        now understands that outside passers on _both_ sides of the
        board is basically winning.  same goes for candidate passers.
2000-11-10 17:34:10 +00:00
jlam
a0d66c5d61 crafty: chess engine -- plays a MUCH better game of chess than GNU Chess. 2000-10-15 02:06:27 +00:00