aboutsummaryrefslogtreecommitdiff
path: root/go/game/state.go
Commit message (Expand)AuthorAgeFilesLines
* 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
* export less methodsFlorian Fischer2025-08-201-16/+16
* implement unit and artifact switch actionFlorian Fischer2025-08-201-0/+11
* replace Fatalf with PanicfFlorian Fischer2025-08-201-3/+3
* implement the basics of the rest of the base cardsFlorian Fischer2025-08-201-0/+12
* intermediate commitFlorian Fischer2025-08-201-17/+31
* remove card from hand when declaring a play actionFlorian Fischer2025-08-201-0/+3
* intermediate commitFlorian Fischer2025-08-201-4/+5
* intermediate commitFlorian Fischer2025-08-201-9/+19
* add simple spell supportFlorian Fischer2025-08-201-0/+2
* fix some warnings reported by golang-ciFlorian Fischer2025-08-201-1/+1
* improve permanent pile supportFlorian Fischer2025-08-201-6/+6
* introduce state-based actionFlorian Fischer2025-08-201-9/+11
* fix IsValidAttack unit type assertionFlorian Fischer2025-08-201-1/+1
* change unit attack representation and implement swordFlorian Fischer2025-08-201-3/+3
* intermediate commitFlorian Fischer2025-08-201-0/+453