docs.rs failed to build chessground-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
chessground-0.8.0
rust-chessground
A chessboard widget for Relm/GTK. Inspired by chessground.js.
Features
- Uses vocabulary from Shakmaty but is chess rule agnostic
- Can show legal move hints
- Check hints
- Move pieces by click
- Move pieces by drag and drop
- Minimum distance
- Piece ghosts
- Draw circles and arrows on the board
- Integrated promotion dialog
- Smooth animations
Only a minimum of the features is exposed in the public API. Feel free to request more.
Documentation
Example
A board that lets the user freely move pieces. Run with cargo run --example editor
.
extern crate gtk;
extern crate chessground;
extern crate relm;
extern crate relm_attributes;
extern crate relm_derive;
extern crate shakmaty;
use *;
use Widget;
use widget;
use ;
use ;
use *;
Piece sets
Set | Author | License |
---|---|---|
Merida | Armando Hernandez Marroquin | GPL-2+ |
License
Chessground is licensed under the GPL-3.0 (or any later version at your option). See the COPYING file for the full license.