Chess Validation Engine for SE576
Example I/O:
WHITE: Pd2, Ke1, Bh3
BLACK: Pc7, Nf6, Qc6, Ph6
PIECE TO MOVE: Nf6
LEGAL MOVES FOR BLACK Nf6: [h7, g8, d7, e8, h5, g4, d5, e4]
Example I/O:
WHITE: Pb2, Rf4, Bd4, Pf7, Nb6
BLACK: Bc4, Ne5, Kd8, Pg5, Qg2
PIECE TO MOVE: Ne5
LEGAL MOVES FOR BLACK Ne5: [g6, f7, c6, d7, g4, f3, d3]