i and j of my for loops are getting higher then they should in my minimax algorithm

前端 未结 0 1421
太阳男子
太阳男子 2021-01-05 06:09

My current code looks something like this:

let bestScore = -Infinity
let move;
for(i = 0; i < board.length; i++)
{
    for(j = 0; j < b         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题