Comment Re:Grid (Score 1) 115
If you're going to divide by 2 for flipping black and white don't forget to multiply by 2 unless one knows whether it's black or white next to move. Nope it's not trivial.
% APL is a natural extension of assembler language programming; ...and is best for educational purposes. -- A. Perlis