aboutsummaryrefslogtreecommitdiff
path: root/go
Commit message (Collapse)AuthorAgeFilesLines
...
* make input events consumableFlorian Fischer2025-07-038-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-07-032-0/+57
|
* make retrieveCardDefinition errors recoverableFlorian Fischer2025-07-031-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-07-031-11/+0
|
* export resource gainFlorian Fischer2025-07-031-3/+3
|
* minor whitespace fixesFlorian Fischer2025-07-032-7/+7
|
* initialize event handler map and hanlde neutralized tilesFlorian Fischer2025-07-031-0/+3
|
* export tile neutralizingFlorian Fischer2025-07-032-3/+3
|
* export more information during a draftFlorian Fischer2025-07-032-4/+11
|
* fix ToggleCardView blocking other widgetsFlorian Fischer2025-07-031-5/+8
|
* return the player after adding itFlorian Fischer2025-07-032-4/+6
|
* allow to add players to draftFlorian Fischer2025-07-031-0/+7
|
* make PlayerControl a CloserFlorian Fischer2025-07-033-1/+12
|
* make draft pool big enoughFlorian Fischer2025-07-031-11/+12
|
* small code modernization and refactoringFlorian Fischer2025-07-034-11/+7
|
* add toggable card viewFlorian Fischer2025-07-031-0/+54
|
* refactor client activitiesFlorian Fischer2025-07-036-100/+186
| | | | | Make the activity stack explicit and move reusable activities to the activity package.
* use constant exportet errorsFlorian Fischer2025-06-062-6/+8
|
* update go mod and add gorilla/websocketFlorian Fischer2025-06-062-3/+4
|
* add touch friendly way to cancel the current promptFlorian Fischer2025-05-012-9/+24
|
* fix retrieving of the active playerFlorian Fischer2025-05-011-1/+1
| | | | Fixes: 4e2ab55d
* implement simple bot based draftFlorian Fischer2025-05-018-4/+385
|
* support touch inputFlorian Fischer2025-05-011-0/+4
|
* improve the sealed activityFlorian Fischer2025-05-013-21/+50
| | | | | | Do not export the sealed client type. Validate the entered set list. Show the default set list.
* overhaul uiFlorian Fischer2025-05-0116-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-05-012-5/+37
|
* add a singleton to handle touch inputsFlorian Fischer2025-05-012-0/+221
|
* document map dependencyFlorian Fischer2025-04-131-0/+3
|
* define global player colorsFlorian Fischer2025-04-134-8/+6
|
* ignore all generated wasm filesFlorian Fischer2025-04-131-2/+1
|
* fix wasm target definitionFlorian Fischer2025-04-041-1/+1
|
* explicitly use bash as shellFlorian Fischer2025-04-041-0/+2
|
* improve codeFlorian Fischer2025-01-274-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-01-271-1/+7
|
* make: use all as default target and run golangci-lint in each packageFlorian Fischer2025-01-271-5/+13
|
* migrate to ebiten/v2/text/v2Florian Fischer2025-01-279-73/+79
|
* finish the shy AIFlorian Fischer2025-01-274-14/+114
|
* add clownfish implementationFlorian Fischer2025-01-271-0/+16
|
* make walls not suitable for permanentsFlorian Fischer2025-01-271-0/+3
|
* finish the target-oriented aiFlorian Fischer2025-01-275-39/+167
| | | | | | | | | Fix path selection choosing a to big step, since the next step was determined by the moving range and not the actually available movement tiles. Fix generating a target for the AI by introducing a dummy action to support "enemy" target constraints.
* improve and fix slow action timing checkFlorian Fischer2025-01-272-4/+10
| | | | | Do not allow to declare slow play actions in the client. Fix the slow action check in the game state.
* introduce game.State interface abstractionFlorian Fischer2025-01-2726-402/+514
| | | | | This allows to not use the internal game state directly from client code.
* remove equipment drop action from TODOFlorian Fischer2025-01-271-3/+1
| | | | it is currently not implemented by the rules
* support choosing a value for X when playing cards with variadic costsFlorian Fischer2025-01-271-9/+27
|
* support calculating Costs including chosen variadic costsFlorian Fischer2025-01-271-3/+14
|
* fix character range loop in cost parsingFlorian Fischer2025-01-271-1/+1
|
* update the TODO since X spells are somewhat supportedFlorian Fischer2025-01-271-1/+1
|
* add dummy-ui mod to test and play with ui componentsFlorian Fischer2025-01-273-3/+51
|
* ui: add new number choiceFlorian Fischer2025-01-272-11/+101
|
* pass the PlayAction to the cards onPlay implementationsFlorian Fischer2025-01-275-79/+106
| | | | | This is done to propagate the chosen variadic play cost to the card implementation.