Skip to content

why isn't Move.NullMove a constant #467

@ghost

Description

public string GetBestMove(Board board, int depth = 3, Move prvmove = Move.NullMove)
I want the previous move made for each depth , but its giving the following error
Default parameter value for prvmove must be a compile time constant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions