aboutsummaryrefslogtreecommitdiff
path: root/go/game/state.go
Commit message (Expand)AuthorAgeFilesLines
* reset an action's targets after resolving itFlorian Fischer2025-07-281-0/+2
* set activePlayerId when adding the first new playerFlorian Fischer2025-07-241-4/+11
* check the wincondition after the state based actionsFlorian Fischer2025-07-241-24/+59
* implement house tile effectFlorian Fischer2025-07-221-0/+14
* add comments and action assertionFlorian Fischer2025-07-221-0/+4
* panic if we try to resolve an unknown card typeFlorian Fischer2025-07-221-1/+1
* fix king map preparationFlorian Fischer2025-07-221-1/+3
* remove player color from game codeFlorian Fischer2025-07-191-7/+12
* add methods to control a LocalState without enforcing game rulesFlorian Fischer2025-07-061-7/+40
* refactor playerControlFlorian Fischer2025-07-061-4/+13
* support king gamesFlorian Fischer2025-07-061-1/+3
* move hand card removal to the play action's costsFlorian Fischer2025-07-031-3/+0
* change phase names to match the rulesFlorian Fischer2025-07-031-3/+3
* return the player after adding itFlorian Fischer2025-07-031-3/+4
* small code modernization and refactoringFlorian Fischer2025-07-031-1/+1
* fix retrieving of the active playerFlorian Fischer2025-05-011-1/+1
* finish the target-oriented aiFlorian Fischer2025-01-271-2/+3
* improve and fix slow action timing checkFlorian Fischer2025-01-271-4/+6
* introduce game.State interface abstractionFlorian Fischer2025-01-271-107/+189
* pass the PlayAction to the cards onPlay implementationsFlorian Fischer2025-01-271-2/+5
* fix trigger ordering for kraken AI always sending PassPriorityFlorian Fischer2025-01-271-2/+7
* emit target and death eventsFlorian Fischer2025-01-271-0/+12
* run state based actions before players receive priorityFlorian Fischer2025-01-271-0/+1
* prompt the user to order its triggersFlorian Fischer2025-01-271-7/+38
* add skeleton for triggers and triggered actionsFlorian Fischer2025-01-271-1/+46
* remove unused members and make EotEffects privateFlorian Fischer2025-01-271-7/+4
* implement equipment with next unit play optionFlorian Fischer2025-01-271-34/+50
* intermediate commitFlorian Fischer2025-01-271-4/+39
* intermeditae commitFlorian Fischer2025-01-271-3/+13
* fixup! validate equip and switch actionsFlorian Fischer2025-01-271-6/+7
* validate equip and switch actionsFlorian Fischer2025-01-271-1/+39
* export less methodsFlorian Fischer2025-01-271-16/+16
* implement unit and artifact switch actionFlorian Fischer2025-01-271-0/+11
* replace Fatalf with PanicfFlorian Fischer2025-01-271-3/+3
* implement the basics of the rest of the base cardsFlorian Fischer2025-01-271-0/+12
* intermediate commitFlorian Fischer2025-01-271-3/+15
* intermediate commitFlorian Fischer2025-01-271-17/+19
* remove card from hand when declaring a play actionFlorian Fischer2025-01-271-0/+3
* intermediate commitFlorian Fischer2025-01-271-4/+5
* intermediate commitFlorian Fischer2025-01-271-3/+5
* intermediate commitFlorian Fischer2025-01-271-6/+14
* add simple spell supportFlorian Fischer2025-01-271-0/+2
* fix some warnings reported by golang-ciFlorian Fischer2025-01-271-1/+1
* improve permanent pile supportFlorian Fischer2025-01-271-6/+6
* introduce state-based actionFlorian Fischer2025-01-271-9/+11
* fix IsValidAttack unit type assertionFlorian Fischer2025-01-271-1/+1
* change unit attack representation and implement swordFlorian Fischer2025-01-271-3/+3
* intermediate commitFlorian Fischer2025-01-271-32/+38
* intermediate commitFlorian Fischer2025-01-271-4/+2
* intermediate commitFlorian Fischer2025-01-271-24/+36