moveHistoryAlgebraic property

List<String> moveHistoryAlgebraic

Get the history of the game (i.e. all moves played) in algebraic format.

Implementation

List<String> get moveHistoryAlgebraic => history
    .where((e) => e.move != null)
    .map((e) => toAlgebraic(e.move!))
    .toList();