aboutsummaryrefslogtreecommitdiff
path: root/go/game/trigger.go
Commit message (Collapse)AuthorAgeFilesLines
* support phase change triggers and implement relicFlorian Fischer2025-10-181-0/+16
|
* implement discard event and reformerFlorian Fischer2025-09-051-0/+24
|
* switch exp/slices to slices moduleFlorian Fischer2025-09-031-1/+1
|
* add more eventsFlorian Fischer2025-08-201-86/+1
|
* implement mace and add damage dealt events/triggersFlorian Fischer2025-08-201-6/+85
|
* use any instead of interface{}Florian Fischer2025-08-201-10/+10
|
* minor code improvements reported by golangci-lintFlorian Fischer2025-08-201-1/+1
|
* improve codeFlorian Fischer2025-08-201-4/+1
| | | | | | * explicitly ignore errors where appropriate * do not append in a loop * specify format string in Errorf
* introduce game.State interface abstractionFlorian Fischer2025-08-201-5/+5
| | | | | This allows to not use the internal game state directly from client code.
* add new trigger and event implementationsFlorian Fischer2025-08-201-8/+78
|
* prompt the user to order its triggersFlorian Fischer2025-08-201-3/+3
| | | | | | | | 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.
* add skeleton for triggers and triggered actionsFlorian Fischer2025-08-201-0/+90