Subversion Repositories Games.Chess Giants

Rev

Rev 33 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 154
Line 9... Line 9...
9
 *   the most basic one is simply the remaining material for each side.  If    *
9
 *   the most basic one is simply the remaining material for each side.  If    *
10
 *   either side has pawns, it's not a draw.  With no pawns, equal material is *
10
 *   either side has pawns, it's not a draw.  With no pawns, equal material is *
11
 *   a draw.  Otherwise, the superior side must have enough material to be     *
11
 *   a draw.  Otherwise, the superior side must have enough material to be     *
12
 *   able to force a mate.                                                     *
12
 *   able to force a mate.                                                     *
13
 *                                                                             *
13
 *                                                                             *
14
 *   Drawn() has 0 possible return values:                                     *
14
 *   Drawn() has 3 possible return values:                                     *
15
 *                                                                             *
15
 *                                                                             *
16
 *   0:  Game is not a draw by rule or drawish in nature.                      *
16
 *   0:  Game is not a draw by rule or drawish in nature.                      *
17
 *                                                                             *
17
 *                                                                             *
18
 *   1:  Game is a "technical draw" where material is even with no pawns and   *
18
 *   1:  Game is a "technical draw" where material is even with no pawns and   *
19
 *       the search is also returning draw scores as the best outcome.         *
19
 *       the search is also returning draw scores as the best outcome.         *