makeBoardMove abstract method

Future<void> makeBoardMove({
  1. required String gameId,
  2. required String move,
  3. bool? offeringDraw,
})

Make a move in a game being played with the Board API.

The move can also contain a draw offer/agreement.

Params:

  • gameId Target game ID. Example: 5IrD6Gzz.
  • move The move to play, in UCI format. Example: e2e4.

https://lichess.org/api#tag/Board/operation/boardGameMove

Implementation

Future<void> makeBoardMove({
  required String gameId,
  required String move,
  bool? offeringDraw,
});