chess_loloof64 0.1.2 copy "chess_loloof64: ^0.1.2" to clipboard
chess_loloof64: ^0.1.2 copied to clipboard

A fork of chess package. chess.dart is a library for legal chess move generation, maintenance of chess game state, and conversion to and from the formats FEN and PGN.

example/example.md

A Random Game

import "package:chess_loloof64/chess_loloof64.dart";

void main() {
  Chess chess = new Chess();
  while (!chess.game_over) {
    print('position: ' + chess.fen);
    print(chess.ascii);
    var moves = chess.moves();
    moves.shuffle();
    var move = moves[0];
    chess.move(move);
    print('move: ' + move);
  }
}
0
likes
140
pub points
0%
popularity

Publisher

unverified uploader

A fork of chess package. chess.dart is a library for legal chess move generation, maintenance of chess game state, and conversion to and from the formats FEN and PGN.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause, MIT (license)

More

Packages that depend on chess_loloof64