if my friend recalls correctly, its
if ((x+y)%3)
arg = 1
else
arg = 0
just check the pattern with packetlogger in nosville, go to 0, 0 and check the arg, then move one to the right (to 1, 0), check it and so on. the pattern is always the same
if my friend recalls correctly, its
if ((x+y)%3)
arg = 1
else
arg = 0
just check the pattern with packetlogger in nosville, go to 0, 0 and check the arg, then move one to the right (to 1, 0), check it and so on. the pattern is always the same
Almost, its ((x+y)%3)%2
Otherwise you might get 2 (which isnt valid) instead of 0.