rshogi-core
A high-performance shogi (Japanese chess) engine core library written in Rust.
Features
- Bitboard-based board representation - Fast move generation and position evaluation
- NNUE evaluation - Neural network-based evaluation with HalfKP architecture support
- Alpha-beta search - With various pruning techniques (null move, futility, LMR, etc.)
- Transposition table - Lock-free concurrent hash table
- Time management - Adaptive time control for various time settings
- Multi-threaded search - Lazy SMP parallel search support
Installation
Add this to your Cargo.toml:
[]
= "0.1"
Usage
use ;
// Create a new position (starting position)
let mut pos = default;
// Create engine and search
let mut engine = new;
engine.set_position;
let options = SearchOptions ;
let result = engine.search;
println!;
License
GPL-3.0-only License
参考・影響 / Acknowledgements
本クレートは将棋エンジン YaneuraOu およびチェスエンジン Stockfish を参考にしています。 アルゴリズムや評価のアイデアに影響を受けていますが、実装と構成は独自です。