Issue: Upon calling game.makeAIMove on a game with FEN of rrrrkrrr/rrrRrrrr/8/8/8/8/RRR1RRRR/RRRRKRRR b Qq - 0 0 It results in the variable bestMove to be 0 in the function. You can test this on the betafish.js website where after you set the FEN when you click "AI Move" nothing happens and no pieces are moved.
After digging, I found that the early return was due to the time being exceeded in the CheckUp function. However I still don't know how to resolve this problem, and for the FEN above, increasing the time to 200s didn't resolve the problem
Issue: Upon calling
game.makeAIMove
on a game with FEN ofrrrrkrrr/rrrRrrrr/8/8/8/8/RRR1RRRR/RRRRKRRR b Qq - 0 0
It results in the variablebestMove
to be 0 in the function. You can test this on the betafish.js website where after you set the FEN when you click "AI Move" nothing happens and no pieces are moved.After digging, I found that the early return was due to the time being exceeded in the
CheckUp
function. However I still don't know how to resolve this problem, and for the FEN above, increasing the time to 200s didn't resolve the problem