mirror of
https://github.com/tiennm99/loto.git
synced 2026-09-03 10:23:25 +00:00
feat: three-mode display (player/master/both) with master auto-tick
- Add `mode` setting to replace legacy `masterMode` with migration path - Implement 3-button display mode picker (player-only, master-only, both) - Auto-increment master when card drawn via call-bus event system - Add voice hint on settings button, gate auto-call on mode changes - Broadcast draw events from MasterPanel, reset call-bus on new game - Broadened announce condition to cover both modes - New call-bus.svelte.js module for event coordination - Update settings-store tests to cover mode migration - Update codebase docs for mode setting and call-bus architecture
This commit is contained in:
@@ -4,6 +4,14 @@ This document tracks **future work only**. Completed features live in
|
||||
git commit history and `plans/`, not here. For "what's in the app right
|
||||
now", see `docs/project-overview-pdr.md` and `docs/codebase-summary.md`.
|
||||
|
||||
## Shipped
|
||||
|
||||
### Three-Mode Rendering + Master Auto-Tick (2026-04-27)
|
||||
- `mode: "player" | "master" | "both"` replaces `masterMode: boolean`
|
||||
- New `call-bus.svelte.js` coordinates master draws → player auto-tick in "both" mode
|
||||
- "Quản trò đọc số" voice now speaks Chờ/Kinh on master in "both" mode
|
||||
- One-shot migration: `masterMode: true` → `mode: "both"`
|
||||
|
||||
## Idea Phase
|
||||
|
||||
### Undo Last Cell
|
||||
|
||||
Reference in New Issue
Block a user