Example #1
0
        private static char GetPieceShortName(string pieceLocation, IBoardState boardState)
        {
            var piece = boardState.GetPiece(pieceLocation);

            if (piece != null)
            {
                return(piece.ShortName);
            }

            return(' ');
        }