| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | improve code | Florian Fischer | 2025-01-27 | 4 | -8/+5 |
| | | | | | | | * explicitly ignore errors where appropriate * do not append in a loop * specify format string in Errorf | ||||
| * | finish the shy AI | Florian Fischer | 2025-01-27 | 3 | -13/+113 |
| | | |||||
| * | add clownfish implementation | Florian Fischer | 2025-01-27 | 1 | -0/+16 |
| | | |||||
| * | make walls not suitable for permanents | Florian Fischer | 2025-01-27 | 1 | -0/+3 |
| | | |||||
| * | finish the target-oriented ai | Florian Fischer | 2025-01-27 | 4 | -38/+167 |
| | | | | | | | | | | Fix path selection choosing a to big step, since the next step was determined by the moving range and not the actually available movement tiles. Fix generating a target for the AI by introducing a dummy action to support "enemy" target constraints. | ||||
| * | improve and fix slow action timing check | Florian Fischer | 2025-01-27 | 1 | -4/+6 |
| | | | | | | Do not allow to declare slow play actions in the client. Fix the slow action check in the game state. | ||||
| * | introduce game.State interface abstraction | Florian Fischer | 2025-01-27 | 21 | -342/+458 |
| | | | | | | This allows to not use the internal game state directly from client code. | ||||
| * | support calculating Costs including chosen variadic costs | Florian Fischer | 2025-01-27 | 1 | -3/+14 |
| | | |||||
| * | fix character range loop in cost parsing | Florian Fischer | 2025-01-27 | 1 | -1/+1 |
| | | |||||
| * | pass the PlayAction to the cards onPlay implementations | Florian Fischer | 2025-01-27 | 5 | -79/+106 |
| | | | | | | This is done to propagate the chosen variadic play cost to the card implementation. | ||||
| * | add helper to get the game state from an action | Florian Fischer | 2025-01-27 | 1 | -3/+6 |
| | | |||||
| * | implement appear! | Florian Fischer | 2025-01-27 | 1 | -0/+18 |
| | | |||||
| * | fix available unit actions | Florian Fischer | 2025-01-27 | 2 | -16/+22 |
| | | |||||
| * | check if Targets allow a selection | Florian Fischer | 2025-01-27 | 1 | -0/+10 |
| | | | | | This fixes highlighting when an action needs no targets at all. | ||||
| * | only generate ArtifactMoveActions if the switched positions are suitable | Florian Fischer | 2025-01-27 | 2 | -9/+16 |
| | | |||||
| * | get position from containing permanent | Florian Fischer | 2025-01-27 | 1 | -3/+3 |
| | | |||||
| * | implment upkeep costs using ResourceCosts | Florian Fischer | 2025-01-27 | 4 | -13/+10 |
| | | |||||
| * | fix some kraken card implementations | Florian Fischer | 2025-01-27 | 1 | -2/+7 |
| | | | | | | * Devour the Poor!: Check if a card is buyable * Frost Pylon: Only spawn on free tiles | ||||
| * | add death trigger to flyingDutchmenImpl | Florian Fischer | 2025-01-27 | 1 | -4/+12 |
| | | |||||
| * | add illusionist implementation | Florian Fischer | 2025-01-27 | 1 | -0/+28 |
| | | |||||
| * | add function to create a DeclareTriggeredActionsAction | Florian Fischer | 2025-01-27 | 1 | -3/+7 |
| | | |||||
| * | fix trigger ordering for kraken AI always sending PassPriority | Florian Fischer | 2025-01-27 | 1 | -2/+7 |
| | | |||||
| * | emit target and death events | Florian Fischer | 2025-01-27 | 1 | -0/+12 |
| | | |||||
| * | add new trigger and event implementations | Florian Fischer | 2025-01-27 | 1 | -8/+78 |
| | | |||||
| * | run state based actions before players receive priority | Florian Fischer | 2025-01-27 | 1 | -0/+1 |
| | | |||||
| * | make CardPaths a value receiver | Florian Fischer | 2025-01-27 | 1 | -1/+1 |
| | | |||||
| * | support parsing variadic costs | Florian Fischer | 2025-01-27 | 6 | -36/+116 |
| | | | | | | TODO: * select the variadic components * test the costs type | ||||
| * | add onETB card hook | Florian Fischer | 2025-01-27 | 2 | -0/+9 |
| | | |||||
| * | improve tile connection detection | Florian Fischer | 2025-01-27 | 1 | -26/+13 |
| | | |||||
| * | support special wall, gate and tower tile selection | Florian Fischer | 2025-01-27 | 1 | -0/+16 |
| | | |||||
| * | game: support X effects ending with punctuation | Florian Fischer | 2025-01-27 | 1 | -2/+6 |
| | | |||||
| * | game: support actions without cost func | Florian Fischer | 2025-01-27 | 1 | -4/+9 |
| | | |||||
| * | cardImplementations: fix use of wrong nested struct | Florian Fischer | 2025-01-27 | 1 | -18/+12 |
| | | |||||
| * | prompt the user to order its triggers | Florian Fischer | 2025-01-27 | 4 | -11/+81 |
| | | | | | | | | | All TriggeredAction are passed in the wrapper action DeclareTriggeredActionsAction to the controller of the triggers. It is expected to receive an ordered list back from the user again wrapped in a DeclareTriggeredActionsAction. The triggered actions will be declared in from first to last. | ||||
| * | add skeleton for triggers and triggered actions | Florian Fischer | 2025-01-27 | 3 | -1/+159 |
| | | |||||
| * | remove unused members and make EotEffects private | Florian Fischer | 2025-01-27 | 1 | -7/+4 |
| | | |||||
| * | implement equipment with next unit play option | Florian Fischer | 2025-01-27 | 8 | -53/+82 |
| | | | | | Also make more state methods private. | ||||
| * | implement playTargets for tentacleSlapImpl to fix segfault | Florian Fischer | 2025-01-27 | 1 | -0/+2 |
| | | |||||
| * | only pop an action if all players have passed priority | Florian Fischer | 2025-01-27 | 1 | -1/+2 |
| | | |||||
| * | reset an action's targets after broadcasting its resolution | Florian Fischer | 2025-01-27 | 1 | -5/+7 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -1/+3 |
| | | | | | | | * use names for pile perm choice * fix PocList hover segfault * prevent mysterius autogenerated playTargets segfault | ||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 18 | -116/+610 |
| | | | | | | | | | | | | * 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 constraint | Florian Fischer | 2025-01-27 | 2 | -9/+39 |
| | | |||||
| * | the tile of destroyed permanents are no longer reset | Florian Fischer | 2025-01-27 | 1 | -2/+2 |
| | | | | | Fixes: 8acaebb8 | ||||
| * | intermeditae commit | Florian Fischer | 2025-01-27 | 8 | -41/+196 |
| | | | | | | | * implement dopping piles * implement simple spell targeting * add some simple spells | ||||
| * | fixup! validate equip and switch actions | Florian Fischer | 2025-01-27 | 1 | -6/+7 |
| | | |||||
| * | validate equip and switch actions | Florian Fischer | 2025-01-27 | 1 | -1/+39 |
| | | |||||
| * | implement equip action | Florian Fischer | 2025-01-27 | 3 | -10/+96 |
| | | |||||
| * | use prompt for target selection of all actions | Florian Fischer | 2025-01-27 | 1 | -6/+25 |
| | | |||||
| * | implement targets candidates for hand cards | Florian Fischer | 2025-01-27 | 2 | -10/+20 |
| | | |||||
