4 releases (breaking)
0.4.0 | Aug 4, 2021 |
---|---|
0.3.0 | Oct 15, 2020 |
0.2.0 | May 2, 2020 |
0.1.0 | Dec 3, 2017 |
#274 in Games
22KB
475 lines
Backgammon: The Oldest Board Game of the World
This crate provides a pure, canonical implementation of the game Backgammon. It allows to implement fast Backgammon games in various clients.
Supported Doubling Cube Rules
This library supports the following rules on the doubling cube:
- Beaver
- Raccoon
- Murphy
- Jacoby
- Crawford
- Holland
Example
Start a new match with rules:
use backgammon::{Match,Rules};
let mut m = Match::new().
with_points(13).
with_jacoby();
Discussions and Support
Any support is very welcome. Please use Bitbucket Issues to discuss features or ask for help.
Source Code Integrity
All commits are signed with the following GPG key (find the respective key for example in the FreeBSD keyring):
59A6 2B5D B2FE B9CA 2358 4FA1 1C7A 2F39 D966 052B
You can verify the integrity of the code by running:
git log --show-signature
Dependencies
~2.7–7MB
~102K SLoC