Skip to content

Releases: rysb-dev/agari

0.17.0

08 Feb 03:28

Choose a tag to compare

Release Notes

Changed

  • GitHub Username Migration: Updated all repository URLs and references from ryblogs to sullenb
    • Updated Cargo.toml repository and homepage URLs
    • Updated GitHub Actions workflows for deploy and release
    • Updated Homebrew tap reference to sullenb/homebrew-tap
    • Updated all installation instructions in README

Added

  • Web UI Enhancements:
    • Dark tile theme with toggle option
    • Improved score result layout
    • Custom domain support (agari.org)

Fixed

  • Mobile UX: Prevented double-tap-to-zoom on mobile tile interactions

Documentation

  • Enhanced README with images and web frontend information
  • Updated live demo URL to agari.org

Install agari 0.17.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/sullenb/agari/releases/download/v0.17.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/sullenb/agari/releases/download/v0.17.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install sullenb/tap/agari

Download agari 0.17.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.16.0

05 Feb 00:54

Choose a tag to compare

Release Notes

Added

  • Japanese Localization (Web UI): Full Japanese (日本語) language support for the web interface

    • Type-safe i18n system with English and Japanese translations
    • Language switcher in header with persistent preference (localStorage)
    • Auto-detection of browser language preference
    • All UI strings, yaku names, and score levels translated
    • Translations for: 満貫, 跳満, 倍満, 三倍満, 役満, etc.
  • Suu Kantsu (四槓子) Yakuman: Added the missing Four Kans yakuman

    • Detects when hand contains exactly 4 kans (open or closed)
    • Awards yakuman (13 han) - can stack with Suuankou for double yakuman
    • Added CLI display: "Suu Kantsu (Four Kans)"
    • Added WASM support and i18n translations

Fixed

  • Yaku Translation Mapping: Fixed yaku names not translating in Japanese locale
    • Updated yakuNameMap to match actual WASM backend output format
    • WASM uses shorter names (e.g., "Sanshoku Doujun") vs CLI verbose names
    • Made translation helpers reactive to locale changes

Install agari 0.16.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.16.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.16.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.16.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.15.0

04 Feb 20:55

Choose a tag to compare

Release Notes

Changed

  • Web UI Redesign: Complete redesign of the web interface with a modern linear design language
    • Boxy, sharp-cornered design with no border-radius
    • 1px borders for depth instead of shadows
    • Modern dark color scheme (#09090b base, #3b82f6 accent)
    • Monospace typography for values, badges, and code elements
    • Grid-based panel layout with 1px gap separators
    • Flat hover states using border color changes
    • Updated all components: Tile, TilePalette, ContextOptions, ScoreResult, DoraPicker

Fixed

  • Validator CLI: Simplified CLI by removing --files parameter; validator now always uses bundled test files

Install agari 0.15.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.15.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.15.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.15.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.14.0

01 Feb 15:37

Choose a tag to compare

Release Notes

Added

  • CI Test Workflow: Added GitHub Actions workflow to run tests on all PRs and pushes to main
  • CI Clippy Lint Check: Added clippy linting to CI pipeline, enforcing zero warnings
  • Regression Tests: Added tests for sequences-first triplet extraction in shanten calculation

Changed

  • Clippy 2024 Compliance: Comprehensive clippy fixes across the codebase (PR #10)
    • Modernized iterator patterns and range checks
    • Replaced manual implementations with idiomatic Rust
    • Simplified conditional expressions and closures

Fixed

  • Deploy Workflow on Forks: Fixed GitHub Pages deploy workflow failing on forks by adding repository owner check

New Contributors

Install agari 0.14.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.14.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.14.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.14.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.13.1

31 Jan 14:55

Choose a tag to compare

Release Notes

Fixed

  • 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

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.13.1/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.13.1

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.13.0

30 Jan 22:54

Choose a tag to compare

Release Notes

Fixed

  • Riichi Options for Open Hands: Riichi, Double Riichi, and Ippatsu options are now disabled when the hand has open melds (chi, pon, or open kan)
    • Options are automatically unchecked if they were selected before adding an open meld
    • Shows notice: "🔓 Open hand — Riichi not available"

Added

  • Live Demo Link: Added prominent link to the web interface at the top of README.md

Install agari 0.13.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.13.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.13.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.13.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.12.0

30 Jan 22:36

Choose a tag to compare

Release Notes

Fixed

  • 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

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.12.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.12.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

0.11.0

30 Jan 22:04

Choose a tag to compare

Release Notes

Added

  • Inferred Winning Tile Display: When scoring a hand without explicitly selecting a winning tile, the frontend now shows which tile was automatically inferred and highlights it in the hand
    • Yellow info banner: "💡 Winning tile inferred as [tile]. Click a tile in your hand to select explicitly."
    • Auto-selects the inferred tile in the hand display with the "WIN" badge
    • Handles red five matching (inferred "5m" correctly matches red "0m")
  • WASM Test Suite: Added 27 focused tests for agari-wasm covering the WASM binding layer
    • Request/response integration tests
    • Inferred winning tile functionality
    • Shanten and ukeire API wrappers
    • Helper functions (parse_wind, yaku_name, format_structure)

Changed

  • ScoringOutput in WASM bindings now includes optional inferred_winning_tile field

Install agari 0.11.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ryblogs/agari/releases/download/v0.11.0/agari-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/ryblogs/agari/releases/download/v0.11.0/agari-installer.ps1 | iex"

Install prebuilt binaries via Homebrew

brew install ryblogs/tap/agari

Download agari 0.11.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

v0.10.0

30 Jan 14:15

Choose a tag to compare

Release Notes

Added

  • New Tile Graphics: Replaced programmatic SVG tiles with beautiful riichi mahjong tile artwork from FluffyStuff/riichi-mahjong-tiles (public domain CC0)
  • Visual Dora Picker: Replaced text dropdown for dora/ura-dora selection with an intuitive visual tile picker modal
  • Improved Tile Removal UX: Added visible × button on hand tiles for easier removal (appears on hover for desktop, always visible on mobile/touch devices)
  • Dora indicator section now expanded by default for better discoverability

Fixed

  • Tile Count Tracking for Melds: Adding chi/pon/kan melds now correctly decreases the remaining tile count indicators
  • Red Five Tracking: Red 5 tiles (aka-dora) now correctly show 1 remaining instead of 4, since there's only one red five per suit
  • Dora Indicator Red Five Handling: Fixed dora/ura-dora selection and tracking for red fives using 0m/0p/0s notation

Changed

  • Red fives now appear at the end of each suit row in the dora picker (matching the main tile palette layout)
  • Increased horizontal spacing between tiles in the "Build Your Hand" tile selection area for better visual clarity
  • Removed "Right-click to remove" hint text (now using visible × buttons instead)

Download agari 0.10.0

File Platform Checksum
agari-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
agari-x86_64-apple-darwin.tar.xz Intel macOS checksum
agari-x86_64-pc-windows-msvc.zip x64 Windows checksum
agari-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
agari-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

v0.9.0

30 Jan 04:13

Choose a tag to compare

v0.9.0 Release Notes

Shanten Calculation Fixes (agari-core)

  • Fixed incorrect shanten with called melds (pon, chi, kan): The shanten formula now properly accounts for the minimum number of tiles required to form a valid tenpai hand

    • Previously, hands like 999m[1111m][1111p][1111s] (3 tiles + 3 kans) incorrectly showed as "Tenpai"
    • Now correctly calculates based on tile deficit from minimum required
  • Added tile deficit validation: Prevents reporting tenpai when there aren't enough tiles to form a valid waiting pattern

  • Minimum tiles for tenpai by called meld count:

    Called Melds Min Hand Tiles for Tenpai
    0 13
    1 10
    2 7
    3 4
    4 1 (tanki wait)

Dora Counting Fixes

  • Fixed ura dora not counting tiles in kans: WASM bindings now include tiles from called melds (pon, chi, kan) when counting dora/ura dora
  • Added red five (akadora) support in dora selectors: 0m, 0p, 0s options now available in dropdowns
  • Fixed red five display: Red fives render correctly as red 5 tiles with indicator dot (was showing "0")
  • Fixed backend error with red fives: Red five notation converted to standard notation before sending to backend

Web Frontend Improvements

  • Meld Builder UI: Interactive chi/pon/kan/ankan builder with validation
  • Winning Tile Selection: Click tiles to mark as winning tile
  • Fixed kan hand size calculation: Kans now correctly use 3 slots (not 4) since you draw a replacement tile
  • Hand notation always visible: Shows notation when tiles or melds are present

Technical Changes

  • Added calculate_shanten_with_melds() public API in agari-core
  • Added ALL_TILES_WITH_RED constant for tile selection including red fives
  • Updated WASM bindings for meld-aware shanten and dora counting