Home
last modified time | relevance | path

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

/plugin/pgn4web/pgn4web/libs/garbochess/
H A Dgarbochess.js325 var flipTable = new Array(256); variable
445 evalAdjust += pieceSquareAdj[pieceKing][flipTable[g_pieceList[pieceKing << 4]]];
1375 flipTable[square] = MakeSquare(7 - row, col);
1607 g_baseEval -= pieceSquareAdj[g_board[i] & 0x7][flipTable[i]];
1694 g_baseEval -= pieceSquareAdj[rook & 0x7][me == 0 ? flipTable[to + 1] : (to + 1)];
1695 g_baseEval += pieceSquareAdj[rook & 0x7][me == 0 ? flipTable[to - 1] : (to - 1)];
1717 g_baseEval -= pieceSquareAdj[rook & 0x7][me == 0 ? flipTable[to - 2] : (to - 2)];
1736 g_baseEval += pieceSquareAdj[captured & 0x7][me ? flipTable[epcEnd] : epcEnd];
1759 g_baseEval -= pieceSquareAdj[piece & 0x7][me == 0 ? flipTable[from] : from];
1782 g_baseEval += pieceSquareAdj[newPiece & 0x7][me == 0 ? flipTable[to] : to];
[all …]