You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Practical Ukeire Zero-Available Waits: Fixed ukeire excluding valid wait tiles when all copies were accounted for (hand + visible). A tile that improves shanten now always appears in the results even when 0 copies remain in the wall, so players can see their full wait shape.
Install agari 0.19.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rysb-dev/agari/releases/download/v0.19.1/agari-installer.sh | sh
Practical Ukeire (Tile Acceptance): New calculate_ukeire_with_visible and calculate_ukeire_with_melds_and_visible library functions that account for tiles already visible on the table (discard ponds, open melds, dora indicators). Available copies are computed as 4 - hand_count - visible_count instead of the theoretical 4 - hand_count.
--visible CLI Flag: New --visible <TILES> option for practical ukeire from the command line. Pass comma-separated visible tiles (e.g., --visible 2z,2z,5p) to subtract them from the available pool when computing ukeire.
Changed
Ukeire Documentation: Updated doc comments on all ukeire functions and UkeireTile::available to clarify the difference between theoretical and practical ukeire. Updated README with practical ukeire examples for both CLI and library usage.
Install agari 0.19.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rysb-dev/agari/releases/download/v0.19.0/agari-installer.sh | sh
Shareable URL Support: Generate shareable URLs that encode the full hand configuration for the web calculator
Crates.io Publishing: Package is now available on crates.io with cargo install agari
Fixed
Ukeire Analysis with Called Melds: Fixed ukeire (tile acceptance) producing bogus results for hands with open melds — previously showed nearly all 34 tile types as improving tiles instead of the correct few
Red Five in Shared URLs: Preserved red five (aka dora) notation in the winning tile when generating shareable URLs
Tile Texture Rendering: Embedded Front.svg background directly into all tile SVGs for proper texture/3D effect rendering
Dora Picker Exhausted Tiles: Tiles that have been fully used in the hand are now disabled in the dora/ura dora picker, preventing selection of unavailable tiles
WIN Badge Overlap: Moved the "WIN" label from top-right to bottom-center of tiles to avoid overlap with the remove button
TypeScript Warning: Fixed "Cannot find name 'process'" warning in vite.config.ts by using Vite's built-in mode parameter
Changed
Tile Component Simplification: Removed redundant tile background layering in Tile.svelte since backgrounds are now embedded in SVGs
Install agari 0.13.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.13.1/agari-installer.sh | sh
Red Five Duplicate in Meld Builder: Fixed bug where users could add multiple red fives (aka dora) of the same suit in pon/chi/kan meld builder (e.g., 0p, 0p, 0p)
Meld builder tiles now included in tileCounts so the palette updates in real-time
Properly checks red five availability using separate red5m/red5p/red5s count tracking
Invalid Chi Meld Sequences: Fixed bug where chi meld builder allowed non-consecutive tiles (e.g., 5p5p5p or 2m4m6m)
Added sequence validation that only allows tiles forming valid 3-consecutive runs
Invalid tiles are now visually grayed out and unclickable in the palette
Changed
Improved Meld Builder UX: For pon/kan/ankan melds, after selecting the first tile, all other tile types are now visually disabled in the palette (previously only enforced in code)
Install agari 0.12.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.12.0/agari-installer.sh | sh