Пример #1
0
        public bool IsCheckAfterMove(FigureMoving fm)
        {
            Board after = Move(fm);

            bool result = after.CanEatKing();

            return(result);
        }
Пример #2
0
        public bool IsCheck()
        {
            Board after = new Board(Fen);

            after.MoveColor = MoveColor.FlipColor();

            bool result = after.CanEatKing();

            return(result);
        }