algebraicMoves method

List<String> algebraicMoves()

Get a list of legal moves in the current position, in algebraic format.

Implementation

List<String> algebraicMoves() =>
    generateLegalMoves().map((e) => toAlgebraic(e)).toList();