Пример #1
0
        public override void AppendCheckNotation()
        {
            NotationAlgebraic += Promotion.Abbreviation();
            NotationPGN       += "=" + Promotion.Abbreviation();
            NotationEnglish   += "(" + Promotion.Abbreviation(true) + ")";

            base.AppendCheckNotation();

            if (Board.CheckIfMated(Piece.Side.Opposite()) == Piece.Side.GetVictoryStatus())
            {
                NotationPGN += "#";
            }
            else if (Board.IsInCheck(Piece.Side.Opposite()))
            {
                NotationPGN += "+";
            }
        }
Пример #2
0
 public override string ToStringCoordinate()
 {
     return(base.ToStringCoordinate() + "(" + Promotion.Abbreviation() + ")");
 }