Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener and removeListener will throw after the object is
TODO make select a move possible in the notation
Implement how to iterate over lines.
Also create functions to display in the board
the state after selecting a move from notation.
The PROBLEM -> we are displaying the state of the board
based on the last state of the history. In the buildBoard function
the controller is passed to each BoardSquare and the
board variable of gameLogic tells whether a piece in on the square
Get history of game (moves) in SAN format
Returns a List