private void saveButton_Click(object sender, RoutedEventArgs e)
{
string path = Directory.GetCurrentDirectory() +
System.IO.Path.DirectorySeparatorChar + "chess.game";
System.IO.File.WriteAllLines(path,
this.gameProvider.History.GetMovesArray());
MessageBox.Show("Game saved");
}