blob: 07211dcbfe3fa30e3dd6c176abba691a31dfbbd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
function make_move(board, y ,x, new_y, new_x) {
board[new_y][new_x] = board[y][x]
board[y][x] = 0
check = check_check(board, to_move, check)
if (check) {
console.log("check")
}
}
|