Home
last modified time | relevance | path

Searched refs:pieceSquareAdj (Results 1 – 1 of 1) sorted by relevance

/plugin/pgn4web/pgn4web/libs/garbochess/
H A Dgarbochess.js322 var pieceSquareAdj = new Array(8); variable
1379 pieceSquareAdj[piecePawn] = MakeTable(pawnAdj);
1380 pieceSquareAdj[pieceKnight] = MakeTable(knightAdj);
1381 pieceSquareAdj[pieceBishop] = MakeTable(bishopAdj);
1382 pieceSquareAdj[pieceRook] = MakeTable(rookAdj);
1383 pieceSquareAdj[pieceQueen] = MakeTable(emptyAdj);
1384 pieceSquareAdj[pieceKing] = MakeTable(kingAdj);
1604 g_baseEval += pieceSquareAdj[g_board[i] & 0x7][i];
1607 g_baseEval -= pieceSquareAdj[g_board[i] & 0x7][flipTable[i]];
1759 g_baseEval -= pieceSquareAdj[piece & 0x7][me == 0 ? flipTable[from] : from];
[all …]