Skip to content

v1.7.0

Latest
Compare
Choose a tag to compare
@DrCheeseFace DrCheeseFace released this 08 Sep 14:28
· 2 commits to main since this release

File output and breaking refactors

  • calc::get_hand_score method signature changed to not take raw string input. as seen below
pub fn get_hand_score(
    hand: Hand, //previously a string
    dora: Option<Vec<TileGroup>>, //previously a string instead of TileGroup
    tsumo: bool,
    riichi: bool,
    doubleriichi: bool,
    ippatsu: bool,
    haitei: bool,
    rinshan: bool,
    chankan: bool,
    tenhou: bool,
    honba: HonbaCounter,
) -> Result<Score, HandErr
  • File output flag added (may be jank) --outputor -o

Full Changelog: v1.6.0...v1.7.0