Thread for discussing the method to show piece movement based on all the possible differeing facors of the game.
To start it and give a feel for it:
Vector system
A standard piece's legal moves can be represented by a 2D vector (r = rider):
Rook: (r,0) OR (0,r)
bishop: ([x=r, x])
Queen: (r,0) OR (0,r) OR ([x=r, x])
Knight: (2,1) OR (1,2)
King: ([x=0/1,y=0/1 NOT (x==0 AND y==0)] x,y)
Pawn: Requires more