| Crates.io | magpie |
| lib.rs | magpie |
| version | 0.11.2 |
| created_at | 2020-10-02 16:12:53.306553+00 |
| updated_at | 2025-03-22 22:23:56.290656+00 |
| description | High-performance Othello library built with bitboards |
| homepage | |
| repository | https://github.com/LimeEng/magpie/ |
| max_upload_size | |
| id | 295433 |
| size | 119,232 |
Magpie is a high-performance library for the classic board game Othello. It provides both a user-friendly API and a low-level interface suitable for AI engines.
Furthermore, the library offers two abstraction levels:
cargo add magpie
# If serialization with Serde is desired, activate the serde feature flag.
cargo add magpie -F serde
Examples are described here.
Curious to play? One example features a functional Othello game with a random AI opponent. Run cargo run --example human_vs_ai to start a game!
Benchmarks are described here
Simply run cargo bench to run all benchmarks.