ChessBoard: allow getting pretty string without printing it