Searched refs:GenerateMove (Results 1 – 1 of 1) sorted by relevance
| /plugin/pgn4web/pgn4web/libs/garbochess/ |
| D | garbochess.js | 2013 function GenerateMove(from, to) { class 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); 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 …]
|