aboutsummaryrefslogtreecommitdiff
path: root/go/game/stack.go
Commit message (Collapse)AuthorAgeFilesLines
* reset an action's targets after resolving itFlorian Fischer2025-07-281-1/+1
|
* check the wincondition after the state based actionsFlorian Fischer2025-07-241-3/+14
|
* introduce game.State interface abstractionFlorian Fischer2025-01-271-2/+2
| | | | | This allows to not use the internal game state directly from client code.
* only pop an action if all players have passed priorityFlorian Fischer2025-01-271-1/+2
|
* reset an action's targets after broadcasting its resolutionFlorian Fischer2025-01-271-5/+7
|
* export less methodsFlorian Fischer2025-01-271-3/+3
|
* replace Fatalf with PanicfFlorian Fischer2025-01-271-1/+1
| | | | Panicf includes a stacktrace and causes a debugger to halt.
* intermediate commitFlorian Fischer2025-01-271-0/+5
| | | | | | | | | | | | * 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-1/+1
|
* introduce state-based actionFlorian Fischer2025-01-271-3/+4
| | | | | | | | State-based action are executed anytime a action resolved to handle events caused by the game state. Currently state-based actions only destroy unit with more damage than health.
* intermeditae commitFlorian Fischer2025-01-271-5/+9
|
* intermediate commitFlorian Fischer2025-01-271-0/+10
|
* intermediate commitFlorian Fischer2025-01-271-1/+28
| | | | Implement actions and multiple ui widgets
* intermediate commitFlorian Fischer2025-01-271-0/+5