Home
last modified time | relevance | path

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

/plugin/pgn4web/pgn4web/libs/garbochess/
H A Dgarbochess.js1326 function MakeSquare(row, column) { function
1337 result[MakeSquare(row, col)] = table[row * 8 + col];
1374 var square = MakeSquare(row, col);
1375 flipTable[square] = MakeSquare(7 - row, col);
1519 g_board[MakeSquare(row, col)] = 0;
1549 g_board[MakeSquare(row, col)] = piece;
1562 if (g_board[MakeSquare(7, 4)] != (pieceKing | colorWhite) ||
1563 g_board[MakeSquare(7, 7)] != (pieceRook | colorWhite)) {
1569 if (g_board[MakeSquare(7, 4)] != (pieceKing | colorWhite) ||
1570 g_board[MakeSquare(7, 0)] != (pieceRook | colorWhite)) {
[all …]