Searched refs:GenerateMove (Results 1 – 1 of 1) sorted by relevance
/plugin/pgn4web/pgn4web/libs/garbochess/ |
H A D | garbochess.js | 2013 function GenerateMove(from, to) { function 2017 function GenerateMove(from, to, flags){ 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); 2108 to = from - 1; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to); 2109 to = from + 1; if (g_board[to] == 0) moveStack[moveStack.length] = GenerateMove(from, to); 2243 moveStack[moveStack.length] = GenerateMove(start, square, moveflagPromotion); 2246 moveStack[moveStack.length] = GenerateMove(start, square, 0); [all …]
|