aboutsummaryrefslogtreecommitdiff
path: root/go/ui/stateBar.go
Commit message (Collapse)AuthorAgeFilesLines
* use any instead of interface{}Florian Fischer2025-08-201-1/+1
|
* overhaul uiFlorian Fischer2025-08-201-7/+12
| | | | | | | | | | | * implement events instead of interfaces Interfaces and the wrappers head the problem that they could not support multiple events at once or only a single one without loosing the others. * add text input support for WASM on mobile A hidden html input is required to open the keyboard and receive the input. * improve the number choice * fix using the default number * add submit button only if a onclick method was provided
* introduce game.State interface abstractionFlorian Fischer2025-08-201-7/+8
| | | | | This allows to not use the internal game state directly from client code.
* move more ui logic into CollectionFlorian Fischer2025-08-201-3/+1
| | | | | * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner
* add sealed activity to select a starting deckFlorian Fischer2025-08-201-1/+1
|
* improve state barFlorian Fischer2025-08-201-5/+5
|
* add text input and properly center textFlorian Fischer2025-08-201-2/+2
|
* intermediate commitFlorian Fischer2025-08-201-0/+65