can determine if in check due to pawn, rook, and bishop. behaviour when no legal moves available now correct