Searched refs:piece_value (Results 1 – 4 of 4) sorted by relevance
/dports/games/gnuchess/gnuchess-6.2.9/src/engine/ |
H A D | see.cpp | 72 int value, piece_value; in see_move() local 87 piece_value = 0; in see_move() 104 piece_value += VALUE_PIECE(piece); in see_move() 166 value -= see_rec(alists,board,def,to,piece_value); in see_move() 178 int piece_value; in see_square() local 211 piece_value = VALUE_PIECE(piece); in see_square() 215 return see_rec(alists,board,att,to,piece_value); in see_square() 229 ASSERT(piece_value>0); in see_rec() 242 value = +piece_value; // captured piece in see_rec() 248 piece_value = VALUE_PIECE(piece); in see_rec() [all …]
|
/dports/games/scid/scid/engines/togaII1.2.1a/src/ |
H A D | see.cpp | 51 int value, piece_value; in see_move() local 66 piece_value = 0; in see_move() 83 piece_value += VALUE_PIECE(piece); in see_move() 145 value -= see_rec(alists,board,def,to,piece_value); in see_move() 157 int piece_value; in see_square() local 190 piece_value = VALUE_PIECE(piece); in see_square() 194 return see_rec(alists,board,att,to,piece_value); in see_square() 208 ASSERT(piece_value>0); in see_rec() 221 value = +piece_value; // captured piece in see_rec() 227 piece_value = VALUE_PIECE(piece); in see_rec() [all …]
|
/dports/games/dreamchess/dreamchess-0.3.0/dreamer/src/ |
H A D | board.c | 35 static int piece_value[] = {100, 100, 300, 300, 350, 350, 500, 500, 900, 900, 2000, 2000}; variable 46 board->material_value[piece & 1] += piece_value[piece]; in add_piece() 64 board->material_value[piece & 1] -= piece_value[piece]; in remove_piece()
|
/dports/games/gnushogi/gnushogi-1.4.2/gnushogi/ |
H A D | eval.c | 1914 short piece_value = (*value)[stage][piece]; in PieceValue() local 1916 if (attack_value < piece_value) in PieceValue() 1921 else if (abs(attack_value - piece_value) < 10) in PieceValue()
|