Why are the rank and files reversed when you define a move with steponly
You're right, the rank & file offsets are backwards when you use the <1, 2> notation. I will have to fix this. The file offset should come first. For now, so that I don't break your code, instead of using the <1, 2> abbreviation, you can construct the Direction normally: Direction( 1, 2 ). This calls the constructor directly and it takes the file offset first.
You're right, the rank & file offsets are backwards when you use the <1, 2> notation. I will have to fix this. The file offset should come first. For now, so that I don't break your code, instead of using the <1, 2> abbreviation, you can construct the Direction normally: Direction( 1, 2 ). This calls the constructor directly and it takes the file offset first.
Thank you for pointing this out!