ps4
    Preparing search index...

    Class Board

    TODO specification Mutable and concurrency safe.

    Index

    Methods

    • Make a new board by parsing a file.

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

      Parameters

      • filename: string

        path to game board file

      Returns Promise<Board>

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

      Error (in a rejected promise) if the file cannot be read or is not a valid game board