aboutsummaryrefslogtreecommitdiff
path: root/go
Commit message (Collapse)AuthorAgeFilesLines
* support js/wasm for openUrlFlorian Fischer2025-08-202-1/+16
|
* error out if parsing the map failsFlorian Fischer2025-08-201-1/+4
|
* add new random draft pick actionFlorian Fischer2025-08-201-0/+5
|
* add RandomCard and String to PoC interfaceFlorian Fischer2025-08-201-2/+15
|
* support king gamesFlorian Fischer2025-08-205-26/+91
|
* support remote draftsFlorian Fischer2025-08-202-9/+37
|
* update dummy-aiFlorian Fischer2025-08-201-13/+6
|
* add simple timer bar widgetFlorian Fischer2025-08-201-0/+61
|
* rework the client's input handlingFlorian Fischer2025-08-202-66/+66
|
* prevent targeting the same object multiple timesFlorian Fischer2025-08-201-2/+15
|
* improve prompt cancellationFlorian Fischer2025-08-203-12/+34
| | | | | | | | The cancel button was overlaying the submit button preventing the submission of a prompt. Distinguish between cancelable and mandatory prompt. Only^ allow cancelable prompts to be removed. Fixes: 37acd982
* improve interface documentationFlorian Fischer2025-08-201-2/+5
|
* move hand card removal to the play action's costsFlorian Fischer2025-08-202-6/+4
|
* change phase names to match the rulesFlorian Fischer2025-08-203-18/+18
|
* make input events consumableFlorian Fischer2025-08-208-40/+148
| | | | | | Having a input queue of consumable input events allow widgets to prevent the further handling of the same event by different collections by consuming the event.
* support marshaling and unmarshaling of PoCsFlorian Fischer2025-08-202-0/+57
|
* make retrieveCardDefinition errors recoverableFlorian Fischer2025-08-201-9/+25
| | | | | This is needed ro test if a user provided path is an actual card and not crash the program if not.
* move TODO into READMEFlorian Fischer2025-08-201-11/+0
|
* export resource gainFlorian Fischer2025-08-201-3/+3
|
* minor whitespace fixesFlorian Fischer2025-08-202-7/+7
|
* initialize event handler map and hanlde neutralized tilesFlorian Fischer2025-08-201-0/+3
|
* export tile neutralizingFlorian Fischer2025-08-202-3/+3
|
* export more information during a draftFlorian Fischer2025-08-202-4/+11
|
* fix ToggleCardView blocking other widgetsFlorian Fischer2025-08-201-5/+8
|
* return the player after adding itFlorian Fischer2025-08-202-4/+6
|
* allow to add players to draftFlorian Fischer2025-08-201-0/+7
|
* make PlayerControl a CloserFlorian Fischer2025-08-203-1/+12
|
* make draft pool big enoughFlorian Fischer2025-08-201-11/+12
|
* small code modernization and refactoringFlorian Fischer2025-08-204-11/+7
|
* add toggable card viewFlorian Fischer2025-08-201-0/+54
|
* refactor client activitiesFlorian Fischer2025-08-206-100/+186
| | | | | Make the activity stack explicit and move reusable activities to the activity package.
* use constant exportet errorsFlorian Fischer2025-08-202-6/+8
|
* update go mod and add gorilla/websocketFlorian Fischer2025-08-202-3/+4
|
* add touch friendly way to cancel the current promptFlorian Fischer2025-08-202-9/+24
|
* fix retrieving of the active playerFlorian Fischer2025-08-201-1/+1
| | | | Fixes: 4e2ab55d
* implement simple bot based draftFlorian Fischer2025-08-208-4/+385
|
* support touch inputFlorian Fischer2025-08-201-0/+4
|
* improve the sealed activityFlorian Fischer2025-08-203-21/+50
| | | | | | Do not export the sealed client type. Validate the entered set list. Show the default set list.
* overhaul uiFlorian Fischer2025-08-2016-190/+509
| | | | | | | | | | | * 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
* support touch input as selectionFlorian Fischer2025-08-202-5/+37
|
* add a singleton to handle touch inputsFlorian Fischer2025-08-202-0/+221
|
* document map dependencyFlorian Fischer2025-08-201-0/+3
|
* define global player colorsFlorian Fischer2025-08-204-8/+6
|
* ignore all generated wasm filesFlorian Fischer2025-08-201-2/+1
|
* fix wasm target definitionFlorian Fischer2025-08-201-1/+1
|
* explicitly use bash as shellFlorian Fischer2025-08-201-0/+2
|
* improve codeFlorian Fischer2025-08-204-8/+5
| | | | | | * explicitly ignore errors where appropriate * do not append in a loop * specify format string in Errorf
* add centering texct box to dummy uiFlorian Fischer2025-08-201-1/+7
|
* make: use all as default target and run golangci-lint in each packageFlorian Fischer2025-08-201-5/+13
|
* migrate to ebiten/v2/text/v2Florian Fischer2025-08-209-73/+79
|