Crates.io | chessly |
lib.rs | chessly |
version | 0.1.3 |
source | src |
created_at | 2024-01-21 19:20:08.316102 |
updated_at | 2024-01-29 11:51:32.602142 |
description | A chess engine written in Rust |
homepage | |
repository | https://github.com/vitali-semenyuk/chessly |
max_upload_size | |
id | 1107820 |
size | 193,882 |
Chessly is a chess engine written in Rust. It is designed to be efficient and robust, providing a solid foundation for building chess applications.
To get started with Chessly, you need to have Rust installed on your machine. If you don't have Rust installed, you can download it from the official website.
Once you have Rust installed, you can clone this repository:
git clone https://github.com/vitali-semenyuk/chessly.git
cd chessly
Then, you can build the project:
cargo build
And run the tests:
cargo test
You can use Chessly as a library in your own Rust projects. Add it as a dependency in your Cargo.toml
:
[dependencies]
chessly = { path = "path/to/chessly" }
Then, you can use the features provided by Chessly in your code. For example, you can generate moves for a given position:
use chessly::board::Board;
use chessly::fen::INITIAL_FEN;
let board = Board::from_fen(INITIAL_FEN).expect("Parsing initial board state from FEN");
let moves = board.get_moves();
Contributions are welcome! Please feel free to submit a pull request.
Chessly is licensed under the MIT license. See LICENSE for more information.