cozy-chess
A Chess and Chess960 move generation library written in Rust (by analog-hors)
chess_perft
Test the chess rust library provided by jordanbray/chess (by jordanbray)
Our great sponsors
cozy-chess | chess_perft | |
---|---|---|
3 | 1 | |
41 | 8 | |
- | - | |
6.1 | 0.0 | |
24 days ago | over 2 years ago | |
Rust | Rust | |
MIT License | GNU Lesser General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cozy-chess
Posts with mentions or reviews of cozy-chess.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-03.
-
Help me find a perfect hash function and fill a hash table in compile time
If you'd like to reference something, my movegen crate cozy-chess does this. I also have a standalone reference implementation here as part of my magic bitboard article.
-
Interested in creating, playing and testing your own chess engine?
https://github.com/ShailChoksi/lichess-bot is a straight forward way to use any UCI engine with lichess. There are also a few libraries for move generation mine: https://github.com/Disservin/chess-library , libchess: https://github.com/kz04px/libchess , surge: https://github.com/nkarve/surge . These are C++ ones, for rust theres https://github.com/analog-hors/cozy-chess . In python you could use python-chess but its incredibly slow for engine stuff writing your own will probably be faster if you know what you are doing.
-
cozy-chess: A Chess and Chess960 move generation library
A while back, I got into computer chess. I used Jordan Bray's neat chess crate for move generation, and was pretty satisfied until I took a look at the code. It's pretty good and all, but... So. Much. unsafe. Out of a mix of frustration and curiosity, I made it my next project to create my own chess move generation library. So... here it is, I guess: https://github.com/analog-hors/cozy-chess/ It's my first crate, so feedback would be appreciated! It's currently being used in my (weak) chess engine Tantabus.
chess_perft
Posts with mentions or reviews of chess_perft.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-17.
-
cozy-chess: A Chess and Chess960 move generation library
I think it provides similar performance as chess, though I don't really want to give any hard numbers as apparently the system I benchmark on is not the most reliable for that. Nevertheless, depth 6 kiwipete ("r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1"): chess: Result: 8031647685 Time: 30s 547ms shakmaty: Result: 8031647685 Time: 49s 669ms cozy-chess: Result: 8031647685 Time: 26s 673ms Tested using a modified version of Jordan Bray's chess_perft.
What are some alternatives?
When comparing cozy-chess and chess_perft you can also consider the following projects:
shakmaty - A Rust library for chess and chess variant rules and operations
tantabus - WIP Rust UCI chess engine
Walleye - A chess engine written from scratch in Rust ♞
Cadabra - Original chess engine written in rust
camel - Bitboard-based UCI-compatible chess/chess960 engine written from scratch in Rust.
chess-library - C++ chess library
Pleco - A Rust-based re-write of the Stockfish Chess Engine
lichess-bot - A bridge between Lichess API and chess engines