Subject: CVS commit: pkgsrc/games/crafty
From: Johnny C. Lam
Date: 2002-09-11 12:52:10
Message id: 20020911105210.07C06B42C@cvs.netbsd.org

Log Message:
Update games/crafty to 18.15.  Changes from version 18.13 include:

18.14   Minor bug in ResignOrDraw() code caused Crafty to not offer draws
        although it would accept them when appropriate.  Rook vs Minor
        is now evaluated as "neither side can win" an oversight in the
        EvaluateWinner() code.  minor bug in ResignOrDraw() would fail to
        offer draws due to the +0.01/-0.01 draw scores returned by the
        EGTB probe code.

18.15   change in endgame draw recognition to handle the case where one
        side appears to be in a lost ending but is stalemated.  the code
        now evaluates such positions as "DrawScore()" instead.  the code
        to accept/decline draws has been modified.  when a draw offer is
        received, a global variable "draw_offer_pending" is set to 1.
        when the search for a move for crafty terminates, crafty then
        uses this value to decide whether to accept or decline the draw.
        this means that the accept/decline won't happen until _after_ the
        search has a chance to see if something good is happening that
        should cause the draw to be declined, closing a timing hole that
        used to exist that let a few "suspects" get away with draws that
        should not have happened (ie crafty has - scores for a long time,
        the opponent suddenly fails low and sees he is losing and offers
        a draw quickly.  Crafty would accept before doing a search and
        noticing that it was suddenly winning.)  minor evaluation change
        to notice that K+B+right RP vs K+B is not necessarily won if the
        weaker side has a bishop of the right color.

Files:
RevisionActionfile
1.20modifypkgsrc/games/crafty/Makefile
1.7modifypkgsrc/games/crafty/distinfo
1.4modifypkgsrc/games/crafty/patches/patch-ab
1.5removepkgsrc/games/crafty/patches/patch-aa