chessly

Crates.iochessly
lib.rschessly
version0.1.3
sourcesrc
created_at2024-01-21 19:20:08.316102
updated_at2024-01-29 11:51:32.602142
descriptionA chess engine written in Rust
homepage
repositoryhttps://github.com/vitali-semenyuk/chessly
max_upload_size
id1107820
size193,882
Vitali Semenyuk (vitali-semenyuk)

documentation

README

Chessly

Chessly is a chess engine written in Rust. It is designed to be efficient and robust, providing a solid foundation for building chess applications.

Features

  • Move generation
  • FEN (Forsyth-Edwards Notation) parsing
  • Position evaluation
  • Best move search
  • Perft testing

Getting Started

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

Usage

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();

Contributing

Contributions are welcome! Please feel free to submit a pull request.

License

Chessly is licensed under the MIT license. See LICENSE for more information.

Commit count: 0

cargo fmt