tokyodoves

Crates.iotokyodoves
lib.rstokyodoves
version1.0.2
sourcesrc
created_at2023-07-20 10:31:29.575207
updated_at2024-01-11 11:11:34.856271
descriptionA library of an efficient board of Tokyo Doves and associated toolkits
homepagehttps://crates.io/crates/tokyodoves
repositoryhttps://github.com/mat-der-D/tokyodoves
max_upload_size
id921214
size362,654
Smooth Pudding (mat-der-D)

documentation

https://docs.rs/tokyodoves/

README

Tokyodoves

Tokyodoves is a library of an efficient board of Tokyo Doves and associated toolkits. Tokyo Doves is an abstract strategy board game for two players. See the following pages for its rules.

The board is implemented with the bitboard technique, which allows for extremely fast operations including moving, putting and removing pieces.

Documentation

Documentation is hosted on docs.rs

Alternatively, see an auto-generated documentation on the repository.

Features

This crate provides three types of features:

  • default (indicate nothing): use only basic entities to play the game
  • game: use convenient entities for playing games additionally
  • analysis: use tools for analysis and some collections additionally

Note that, if you indicate feature = "analysis", your program also uses those that are included when feature = "game".

See the documentation for details.

Usage

Simply run:

cargo add tokyodoves

or add an option to select features:

cargo add tokyodoves --features analysis

Alternatively, add this to your Cargo.toml:

[dependencies]
tokyodoves = "1.0.2"

or

[dependencies]
tokyodoves = { version = "1.0.2", features = ["analysis"] }

if you want to use feature "analysis".

Commit count: 301

cargo fmt