I am writing chess code in C++ using a main cpp file and functions only.. SO basically am done with everything except the checkmate condition... the only conditions for checkmate i have checked are the movements that king can make.. but there might be other possibilities of saving from the check like moving other pieces.. So any suggestions on how to implement :/... I would really appreciate any help..
Thanks in Advance