aboutsummaryrefslogtreecommitdiff
path: root/go/game/state.go
Commit message (Expand)AuthorAgeFilesLines
* format phaseChange as the next phaseFlorian Fischer2025-10-181-1/+2
* support phase change triggers and implement relicFlorian Fischer2025-10-181-14/+33
* support explicitly winning and implement Approach Supremacy!Florian Fischer2025-09-081-0/+4
* implement discard event and reformerFlorian Fischer2025-09-051-1/+2
* fix reported stores by the game stateFlorian Fischer2025-09-031-4/+13
* fix and test the banner implementationFlorian Fischer2025-08-221-2/+2
* support concessionsFlorian Fischer2025-08-211-3/+24
* remove logged newline and button list debug messageFlorian Fischer2025-08-201-1/+1
* add description to wincondition to show the userFlorian Fischer2025-08-201-1/+1
* do not check the target constraints twiceFlorian Fischer2025-08-201-38/+0
* remove timing checks from action validationFlorian Fischer2025-08-201-43/+2
* add more eventsFlorian Fischer2025-08-201-1/+4
* use slog and add game log handler callbackFlorian Fischer2025-08-201-2/+3
* reset the tile of a destroyed permanent to allow the processing of the pile dropFlorian Fischer2025-08-201-1/+3
* implement mace and add damage dealt events/triggersFlorian Fischer2025-08-201-46/+6
* improve timing of declared actionsFlorian Fischer2025-08-201-18/+30
* git enforce slow action timing restrictionsFlorian Fischer2025-08-201-2/+14
* add support for flexible attacksFlorian Fischer2025-08-201-1/+1
* minor code improvements reported by golangci-lintFlorian Fischer2025-08-201-18/+19
* only clear the selections if the target is not nilFlorian Fischer2025-08-201-3/+6
* reset an action's targets after resolving itFlorian Fischer2025-08-201-0/+2
* set activePlayerId when adding the first new playerFlorian Fischer2025-08-201-4/+11
* check the wincondition after the state based actionsFlorian Fischer2025-08-201-24/+59
* implement house tile effectFlorian Fischer2025-08-201-0/+14
* add comments and action assertionFlorian Fischer2025-08-201-0/+4
* panic if we try to resolve an unknown card typeFlorian Fischer2025-08-201-1/+1
* fix king map preparationFlorian Fischer2025-08-201-1/+3
* remove player color from game codeFlorian Fischer2025-08-201-7/+12
* add methods to control a LocalState without enforcing game rulesFlorian Fischer2025-08-201-7/+40
* refactor playerControlFlorian Fischer2025-08-201-4/+13
* support king gamesFlorian Fischer2025-08-201-1/+3
* move hand card removal to the play action's costsFlorian Fischer2025-08-201-3/+0
* change phase names to match the rulesFlorian Fischer2025-08-201-3/+3
* return the player after adding itFlorian Fischer2025-08-201-3/+4
* small code modernization and refactoringFlorian Fischer2025-08-201-1/+1
* fix retrieving of the active playerFlorian Fischer2025-08-201-1/+1
* finish the target-oriented aiFlorian Fischer2025-08-201-2/+3
* improve and fix slow action timing checkFlorian Fischer2025-08-201-4/+6
* introduce game.State interface abstractionFlorian Fischer2025-08-201-107/+189
* pass the PlayAction to the cards onPlay implementationsFlorian Fischer2025-08-201-2/+5
* fix trigger ordering for kraken AI always sending PassPriorityFlorian Fischer2025-08-201-2/+7
* emit target and death eventsFlorian Fischer2025-08-201-0/+12
* run state based actions before players receive priorityFlorian Fischer2025-08-201-0/+1
* prompt the user to order its triggersFlorian Fischer2025-08-201-7/+38
* add skeleton for triggers and triggered actionsFlorian Fischer2025-08-201-1/+46
* remove unused members and make EotEffects privateFlorian Fischer2025-08-201-7/+4
* implement equipment with next unit play optionFlorian Fischer2025-08-201-34/+50
* intermediate commitFlorian Fischer2025-08-201-4/+39
* intermeditae commitFlorian Fischer2025-08-201-3/+13
* validate equip and switch actionsFlorian Fischer2025-08-201-1/+40