Skip to content

0.20.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 09:08

Release 0.20.0

Summary

  • Decisions: every chi and kan is its own one-press button (no second tile-choice step), and all decision controls are flat boxes of one height, coloured by kind; a riichi hand's forced discard no longer shows a timer.
  • Keyboard: the board can be played from the keyboard — digits press decisions, Esc/right-click pass or discard the drawn tile, arrows move between tiles — with optional key hints and a Controls help panel; focus no longer gets lost between screens.
  • Settings menu: new rows for leaving the game (and back to the lobby in a replay), connection ping, corner indices on tiles, the wind letters' script per language and keeping Auto win between rounds; a click that closes the menu now also plays the tile under it.
  • Replay: controls rebuilt around the viewer's own turns (own-turn, step and round moves with keys), seat views from the chrome and the opening seating, greyed tsumogiri discards, and a replay link without a seat opens at the logged-in player's own seat.
  • Board: round results wait 1.5s and hide while pressed so the final board can be read; live nameplates are plain hover badges; the furiten mark scales with the badge text; centre text is unselectable.
  • Protocol: an app-level PING/pong lets the client time its round trip; the game endpoint answers it before routing, without touching a session.
  • Fixes: a closed kan's red five stays face up; opponent backs lose a stray beige band; the room page, the opening seating and the settings menu no longer jump as their contents arrive.
  • Storybook: one page for every decision, split tiles and system pages, a compact melds page with red fives, and new seat scenarios for the call options.

Features

  • feat: hold v2 round results 1.5s and show the board while pressed (7781961)
  • feat: add a back-to-lobby row to the v2 replay's settings menu (ca16b91)
  • feat: make the v2 centre's text unselectable (d083fed)
  • feat: drop the v2 centre's "vs name" label while differences show (c430ac9)
  • feat: make v2 live nameplates plain badges with no click pinning (66171ab)
  • feat: size the v2 furiten mark with the own badge's text (73452e6)
  • feat: rework the v2 replay controls around the viewer's own turns (1ac5570)
  • feat: add a corner indices setting that labels v2 tiles (1784418)
  • feat: let the player pick the v2 wind letters' script per language (a1c05e8)
  • feat: offer every chi and kan as its own v2 decision button (514f134)
  • feat: hide the v2 timer on a riichi hand's plain discard (b623ee3)
  • feat: show the connection's ping in the v2 settings menu (a6534a3)
  • feat: play the v2 board from the keyboard, with a controls help panel (9493681)
  • feat: add a leave row to the game's settings menu (ef1cad5)
  • feat: play a tile on the click that closes the settings menu (86ce393)
  • feat: add a setting that keeps Auto win between rounds (905273f)

Bug Fixes

  • bug: draw v2 opponent backs' edge as their end, not a beige band (83e8ca9)
  • bug: keep a closed kan's red five face up (699ec32)
  • bug: stop the settings menu resizing when a switch toggles (bab3206)
  • bug: stop the game start's seating growing as the first deal arrives (fd4b6c2)
  • bug: stop the room page jumping when the seat arrives (ee44307)

Maintenance

  • chore: lift v2 decision button tiles by 1px (42d22c8)
  • chore: show every v2 decision on one storybook page (6260c0b)
  • chore: split the v2 storybook index into tiles and system pages (9dde5bc)
  • chore: compact the v2 melds storybook and show its red fives (8faa1cc)
  • chore: bump version to 0.20.0 (5dcf6a0)

Stats

  • Code changes (lock files and SVG assets excluded): 155 files changed, 4706 insertions(+), 1864 deletions(-)