getSanHistory method
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
Implementation
/// Get history of game (moves) in SAN format
/// Returns a List<String>
List<String> getSanHistory() {
List<String> history = gameLogic.getHistorySAN();
return history;
}