Interface PositionAsciiOptions

Options for the () method.

interface PositionAsciiOptions {
    coordinateVisible?: boolean;
    flipped?: boolean;
    prefix?: string;
}

Properties

coordinateVisible?: boolean

Whether board coordinates should be present or not. false by default.

flipped?: boolean

If true, the board is represented from Black's point of view. false by default.

prefix?: string

If provided, each line of the ASCII-art picture is prefixed with this string.