ckrbd.js
// which has an extra row and column, so no out-of-bounds checking is needed.
which has an extra row and column, so no out-of-bounds checking is needed.
which has an extra row and column so no out - of - bounds checking is needed .
function cellsLevel0Parents(i,j) {
    if ((i+j)%2) { 
      return [  { i:i,   j:j   },
                { i:i+1, j:j+1 }  ];
    } else { 
      return [  { i:i+1, j:j   },
                { i:i,   j:j+1 }  ];
    }
}
function cellsLevel0Parents ( i , j ) { if ( ( i + j ) % 2 ) { return [ { i : i , j : j } , { i : i + 1 , j : j + 1 } ] ; } else { return [ { i : i + 1 , j : j } , { i : i , j : j + 1 } ] ; } }
which has an extra row and column, so no out-of-bounds checking is needed.
which has an extra row and column so no out - of - bounds checking is needed .