Something went wrong. Try again.
Star Gambit Computer Player SDK
Something went wrong. Try again.
12345678910111213141516171819202122//! `stellar` — a Rust reimplementation of the Star Gambit game logic.//!//! This crate mirrors the Dart `star_engine` package. The single public//! entry point of interest is [`engine::GameEngine::execute`], the analogue//! of Dart's `GameEngine.resolve`: it interprets an SGN string against a//! game state and returns the resulting state.//!//! Geometry runs on exact integer arithmetic (see [`hex`]) because the//! notation never produces a fractional rotation, so the Dart `FractionalHex`//! coordinates are always integer-valued during play.
pub mod config;pub mod engine;pub mod hex;pub mod model;pub mod result;pub mod zobrist;
pub use config::{base_config, StarConfig, StarGambitConfig};pub use engine::{GameEngine, SgnError};pub use result::{GameResult, LossReason};