Home
last modified time | relevance | path

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

/plugin/pgn4web/pgn4web/libs/garbochess/
Dgarbochess.js2037 function GenerateAllMoves(moveStack) { argument
2044 GeneratePawnMoves(moveStack, from);
2052 to = from + 31; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to);
2053 to = from + 33; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to);
2054 to = from + 14; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to);
2055 to = from - 14; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to);
2056 to = from - 31; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to);
2057 to = from - 33; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to);
2058 to = from + 18; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to);
2059 to = from - 18; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to);
[all …]