aboutsummaryrefslogtreecommitdiff
path: root/go/game/cardImplementations.go
Commit message (Collapse)AuthorAgeFilesLines
* fix relic triggering in all upkeepsFlorian Fischer2025-10-181-1/+5
|
* support phase change triggers and implement relicFlorian Fischer2025-10-181-0/+54
|
* implement spell target parsing and magic/no!Florian Fischer2025-09-081-0/+12
|
* support explicitly winning and implement Approach Supremacy!Florian Fischer2025-09-081-0/+28
|
* implement magic/pierce!Florian Fischer2025-09-051-0/+12
|
* implement more prompts and exp1/backup!Florian Fischer2025-09-051-0/+21
|
* implement discard event and reformerFlorian Fischer2025-09-051-0/+16
|
* implement power_to_the_people!Florian Fischer2025-09-041-4/+13
|
* implement recycle!Florian Fischer2025-09-041-0/+15
|
* implement the patricianFlorian Fischer2025-09-031-0/+40
|
* fix and test the banner implementationFlorian Fischer2025-08-221-1/+1
| | | | Fixes: 0667db9e5a765cbd1eec90b63fb8cd0a6e0a2dc7
* implement bannerFlorian Fischer2025-08-221-7/+34
|
* sort card implementations alphabeticallyFlorian Fischer2025-08-201-6/+6
|
* note that replacement effects are missingFlorian Fischer2025-08-201-0/+1
|
* implement mace and add damage dealt events/triggersFlorian Fischer2025-08-201-8/+48
|
* support parsing of simple equipment effectsFlorian Fischer2025-08-201-24/+0
|
* make fmtFlorian Fischer2025-08-201-0/+1
|
* add naive spear implementationFlorian Fischer2025-08-201-0/+13
|
* fix recruiter target descFlorian Fischer2025-08-201-1/+1
|
* update missionaryFlorian Fischer2025-08-201-6/+5
| | | | | | | Limit the range of the missionary's full action but increase its effectivnes. The missionary could only really be used unthreatened over multiple turns. Since any unit can be disbanded during upkeep before it is evangelized, the missionary is only a slow destroy effect. Now it is way more potent controlling cheaper units with the first action but it has to be close to the enemy unit making it more vulnerable.
* add support for flexible attacksFlorian Fischer2025-08-201-2/+9
|
* 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