Class: PgnReader

PgnReader

A PGN reader. A class that knows how to read a PGN file and give instructions to a board.

Constructor

new PgnReader()

Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:

Methods

get(url)

A method to read a pgn file via ajax.
Parameters:
Name Type Description
url string url to do the GET from (same server).
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:

initialize() → {PgnReader}

creates a new instance
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
the new instance.
Type
PgnReader

toString() → {string}

toString method so that you can get a nice printout of instances of this type
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
string representation of this instance.
Type
string