Valid moves must
- not expose king to check
- not move through other pieces (excluding knight)
- follow the defined behavior of the piece
Move functions have the signature void getValidMovesPIECE(int f0, int r0, int f1, int r1, Board *b, MOVE **m), where
- f0r0 is the source file and rank
- f1r1 is the destination file and rank
To-do
Valid moves must
Move functions have the signature
void getValidMovesPIECE(int f0, int r0, int f1, int r1, Board *b, MOVE **m), where- f0r0 is the source file and rank
- f1r1 is the destination file and rank
To-do