J
jb skaggs
Guest
I am following chess tutorial for GM. My question is concerning the following code:
inside of the for loop to create the chess board is this little piece of math.
if ((i mod 2==0 && j mod 2==0) || (i mod 2 ==1 && j mod 2 ==1))
What specifically is happening here?
thanks JB
inside of the for loop to create the chess board is this little piece of math.
if ((i mod 2==0 && j mod 2==0) || (i mod 2 ==1 && j mod 2 ==1))
What specifically is happening here?
thanks JB