aboutsummaryrefslogtreecommitdiff
path: root/go/game/playerControl.go
Commit message (Collapse)AuthorAgeFilesLines
* fixup! refactor playerControlFlorian Fischer2025-07-281-2/+0
|
* refactor playerControlFlorian Fischer2025-07-061-15/+159
| | | | | | | Allow to propagate errors in order to handle them acordingly. Use playerNotifications by value to reduce the amount of allocations. Add session managment playerNotifications. Support marshalling notifications to plain text.
* make PlayerControl a CloserFlorian Fischer2025-07-031-1/+6
|
* implement simple bot based draftFlorian Fischer2025-05-011-0/+7
|
* prompt the user to order its triggersFlorian Fischer2025-01-271-0/+7
| | | | | | | | All TriggeredAction are passed in the wrapper action DeclareTriggeredActionsAction to the controller of the triggers. It is expected to receive an ordered list back from the user again wrapped in a DeclareTriggeredActionsAction. The triggered actions will be declared in from first to last.
* intermediate commitFlorian Fischer2025-01-271-2/+17
| | | | | | | | | | | | * fix a lot of target and action bugs * check target selection before adding it to the prompt * use the store view for stores on the map * fix card highlighting in CardGrid * Only prompt for Upkeep-/DiscardActions if appropriate * Add helper for areaEffects granting new FullActions * Add Target() helper selecting the first target to the Action interface * Fix BuyAction and DiscardAction targets * Remember the stores a player has seen
* intermediate commitFlorian Fischer2025-01-271-28/+52
|
* intermediate commitFlorian Fischer2025-01-271-1/+6
|
* intermeditae commitFlorian Fischer2025-01-271-7/+26
|
* intermediate commitFlorian Fischer2025-01-271-3/+5
|
* intermediate commitFlorian Fischer2025-01-271-0/+66