anvilsign in

collin/mahjong

BoardRenderedSource

1# TODO
2
3Ordered by how much they'd matter at a real table.
4
5## 1. Undo across a hand boundary
6
7`undo()` is cleared by `startHand`, so a 下一局 tapped by mistake — and that
8button sits right under someone's thumb — cannot be taken back. The deal is
9already reshuffled by then. Would need the snapshot from before `nextHand` kept,
10and the seed recorded, so the same wall could be rebuilt.
11
12## 2. Settings mid-game
13
14設定 is reachable from the lobby and the game-over panel, but not during a 將, so
15a player who wants to fix a typo'd name has to wait it out. The `?` panel is
16already anchored per-seat and rotated to face its own edge; settings could share
17that treatment.
18
19## 3. 花槓 and other flower house rules
20
21Flowers score, but some tables pay 花槓 out the moment it completes rather than
22at settlement, and some deal 補花 differently at the start. Both are `Rules`
23flags plus a payment hook.
24- [ ] make the scar bgger
25- [ ] fgure out the br nao
26- [ ] computer shouldn't be able to take the pung before the throw animation completes
27- [ ] weirdness around throwing the tiles in the center, it's like attracted to the center, even gets stopped by wall it keeps going