Class Board

TODO specification Mutable and concurrency safe.

Hierarchy

  • Board

Constructors

Methods

Constructors

Methods

  • Make a new board by parsing a file.

    PS4 instructions: the specification of this method may not be changed.

    Returns

    (a promise for) a new board with the size and cards from the file

    Throws

    Error if the file cannot be read or is not a valid game board

    Parameters

    • filename: string

      path to game board file

    Returns Promise<Board>

Generated using TypeDoc