Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Board

TODO specification Mutable and threadsafe.

Hierarchy

  • Board

Index

Constructors

Methods

Constructors

constructor

Methods

Static parseFromFile

  • parseFromFile(filename: string): Promise<Board>
  • Make a new board by parsing a file.

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

    throws

    Error if an error occurs reading or parsing the file

    Parameters

    • filename: string

      path to a game board file

    Returns Promise<Board>

    a new board with the size and cards from the given file

Generated using TypeDoc