Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.5% on crates.io
Top 8.2% downloads on crates.io
Top 3.5% dependent packages on crates.io
Top 5.5% dependent repos on crates.io
Top 9.2% forks on crates.io

crates.io : chess

This is a fast chess move generator. It has a very good set of documentation, so you should take advantage of that. It (now) generates all lookup tabels with a build.rs file, which means that very little pseudo-legal move generation requires branching. There are some convenience functions that are exposed to, for example, find all the squares between two squares. This uses a copy-on-make style structure, and the Board structure is as slimmed down as possible to reduce the cost of copying the board. There are places to improve perft-test performance further, but I instead opt to be more feature-complete to make it useful in real applications. For example, I generate both a hash of the board and a pawn-hash of the board for use in evaluation lookup tables (using Zobrist hashing). There are two ways to generate moves, one is faster, the other has more features that will be useful if making a chess engine. See the documentation for more details.

Registry - Source - Documentation - JSON
purl: pkg:cargo/chess
Keywords: generator, move, chess
License: MIT
Latest release: about 3 years ago
First release: about 8 years ago
Dependent packages: 10
Dependent repositories: 25
Downloads: 51,956 total
Stars: 224 on GitHub
Forks: 51 on GitHub
Total Commits: 211
Committers: 14
Average commits per author: 15.071
Development Distribution Score (DDS): 0.095
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 26 days ago

    Loading...
    Readme
    Loading...