chess 0.8.1 copy "chess: ^0.8.1" to clipboard
chess: ^0.8.1 copied to clipboard

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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add chess
copied to clipboard

With Flutter:

 $ flutter pub add chess
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  chess: ^0.8.1
copied to clipboard

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:chess/chess.dart';
copied to clipboard
43
likes
125
points
461
downloads

Publisher

verified publisheroaksnow.com

Weekly Downloads

2024.08.09 - 2025.02.21

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

Repository (GitHub)

Documentation

API reference

License

BSD-2-Clause, MIT (license)

More

Packages that depend on chess