aboutsummaryrefslogtreecommitdiff
path: root/go/game/cardImplementations.go
Commit message (Collapse)AuthorAgeFilesLines
* export tile neutralizingFlorian Fischer2025-08-201-2/+2
|
* add clownfish implementationFlorian Fischer2025-08-201-0/+16
|
* introduce game.State interface abstractionFlorian Fischer2025-08-201-37/+37
| | | | | This allows to not use the internal game state directly from client code.
* pass the PlayAction to the cards onPlay implementationsFlorian Fischer2025-08-201-51/+63
| | | | | This is done to propagate the chosen variadic play cost to the card implementation.
* implement appear!Florian Fischer2025-08-201-0/+18
|
* fix some kraken card implementationsFlorian Fischer2025-08-201-2/+7
| | | | | * Devour the Poor!: Check if a card is buyable * Frost Pylon: Only spawn on free tiles
* add death trigger to flyingDutchmenImplFlorian Fischer2025-08-201-4/+12
|
* add illusionist implementationFlorian Fischer2025-08-201-0/+28
|
* support parsing variadic costsFlorian Fischer2025-08-201-2/+2
| | | | | TODO: * select the variadic components * test the costs type
* cardImplementations: fix use of wrong nested structFlorian Fischer2025-08-201-18/+12
|
* implement equipment with next unit play optionFlorian Fischer2025-08-201-3/+3
| | | | Also make more state methods private.
* implement playTargets for tentacleSlapImpl to fix segfaultFlorian Fischer2025-08-201-0/+2
|
* intermediate commitFlorian Fischer2025-08-201-7/+197
| | | | | | | | | | | * Implement move artifact action * Fix widget update memory leak * update the highlights not during on each frame * do not update the unchanged label of a button * Allow to exit the game by pressing 'q' * Implement some cards from the magic set * Improve permanent formatting * Some tweaks to UnitAI code
* implement target disjunction and fix artifact constraintFlorian Fischer2025-08-201-3/+1
|
* intermeditae commitFlorian Fischer2025-08-201-0/+22
| | | | | | * implement dopping piles * implement simple spell targeting * add some simple spells
* implement equip actionFlorian Fischer2025-08-201-2/+14
|
* export less methodsFlorian Fischer2025-08-201-11/+11
|
* fix ai NPE when selecting a unit where to spawn frost pylonFlorian Fischer2025-08-201-1/+2
| | | | | The NPE is caused by any piled permanent with which TilesInRange is called.
* implement the basics of the rest of the base cardsFlorian Fischer2025-08-201-0/+102
| | | | | * Add more TODOs * Implement permanents granting more spawn tiles
* intermediate commitFlorian Fischer2025-08-201-42/+19
|
* intermediate commitFlorian Fischer2025-08-201-20/+36
| | | | | | * detect tokens and do not add them to pile of cards * only add spells not already in exile to their owners discard pile * add the played card to onPlay callback
* implement most of nautics cardsFlorian Fischer2025-08-201-13/+108
|
* kraken: implement suprise!Florian Fischer2025-08-201-7/+7
|
* intermediate commitFlorian Fischer2025-08-201-33/+199
| | | | adding area effects and hooks for permanents entering and leaving tiles
* add simple spell supportFlorian Fischer2025-08-201-0/+10
|
* fix some warnings reported by golang-ciFlorian Fischer2025-08-201-2/+2
|
* improve permanent pile supportFlorian Fischer2025-08-201-1/+1
| | | | | | * Fix alot of bugs caused by permanents without tiles * Implement a permanent choice to select the permanents in a pile * Fix how pile hooks are called
* change unit attack representation and implement swordFlorian Fischer2025-08-201-0/+17
|
* intermediate commitFlorian Fischer2025-08-201-0/+56