Skip to main content

Crate figrid_board

Crate figrid_board 

Source
Expand description

A library for the Five-in-a-Row (Gomoku) game.

Starting from 0.4.0 the primary engine is NNUE-based (powered by the noru core). The pre-0.4 symbolic evaluator, rule/rec/tree stack, and generic Eval<SZ> trait live under the legacy module — it is preserved alongside the new NNUE engine so the original pbrain-figrid-legacy executable and any 0.3.x downstream users still work. This preservation is a maintainer choice, not a promise of ABI stability.

Re-exports§

pub use board::to_idx;
pub use board::to_rc;
pub use board::BitBoard;
pub use board::Board;
pub use board::GameResult;
pub use board::Move;
pub use board::Stone;
pub use board::BOARD_SIZE;
pub use board::NUM_CELLS;
pub use coord::Coord;
pub use coord::Coord15;
pub use coord::Coord20;
pub use coord::CoordState;
pub use coord::Rotation;
pub use eval::evaluate;
pub use eval::IncrementalEval;
pub use features::GOMOKU_NNUE_CONFIG;
pub use heuristic::scan_line;
pub use heuristic::LineInfo;
pub use heuristic::DIR;
pub use search::SearchResult;
pub use search::Searcher;
pub use vct::search_vct;
pub use vct::VctConfig;

Modules§

board
coord
eval
NNUE 평가 — 4096 피처 (PS + LP-Rich + Compound + Density) 추출.
features
오목 NNUE 피처 인코딩 (4096 슬롯).
heuristic
legacy
Pre-0.4.0 engine — the symbolic evaluator, record keeper, rule checker, and bump-storage game tree originally written by wuwbobo2021.
pattern_dense
Pattern4 dense embedding for the noru dense_input projection branch.
pattern_table
Pattern4 mini — 11-cell line window를 lossless ID로 압축하는 테이블.
search
transposition
α-β 탐색용 Transposition Table.
vct
VCT (Victory by Continuous Threats) 탐색.

Enums§

Error
Possible errors returned from this crate.