aboutsummaryrefslogtreecommitdiff
path: root/go/game/map.go
Commit message (Collapse)AuthorAgeFilesLines
* improve codeFlorian Fischer2025-01-271-1/+1
| | | | | | * explicitly ignore errors where appropriate * do not append in a loop * specify format string in Errorf
* introduce game.State interface abstractionFlorian Fischer2025-01-271-2/+2
| | | | | This allows to not use the internal game state directly from client code.
* improve tile connection detectionFlorian Fischer2025-01-271-26/+13
|
* intermediate commitFlorian Fischer2025-01-271-8/+0
| | | | | | | | | | | | * 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-0/+4
| | | | | | * implement most of the kraken cards * unify permanent marks * add state based actions hook for card implementations
* fix some warnings reported by golang-ciFlorian Fischer2025-01-271-1/+1
|
* intermediate commitFlorian Fischer2025-01-271-1/+1
|
* intermeditae commitFlorian Fischer2025-01-271-5/+52
|
* intermediate commitFlorian Fischer2025-01-271-10/+17
|
* intermediate commitFlorian Fischer2025-01-271-1/+22
|
* intermediate commitFlorian Fischer2025-01-271-1/+1
| | | | | * Add static analysis and improve Makefile * Implement hints from static code analysis
* implement unit movementFlorian Fischer2025-01-271-3/+5
|
* add random tile selection from map to the web toolsFlorian Fischer2025-01-271-15/+60
|
* intermediate commitFlorian Fischer2025-01-271-0/+181