| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | make format | Florian Fischer | 2025-07-30 | 1 | -1/+2 |
| | | |||||
| * | use any instead of interface{} | Florian Fischer | 2025-07-30 | 1 | -5/+5 |
| | | |||||
| * | minor code improvements reported by golangci-lint | Florian Fischer | 2025-07-30 | 1 | -4/+5 |
| | | |||||
| * | support street actions | Florian Fischer | 2025-07-24 | 1 | -0/+42 |
| | | |||||
| * | minor cleanup removing debug prints | Florian Fischer | 2025-07-24 | 1 | -3/+3 |
| | | |||||
| * | implement house tile effect | Florian Fischer | 2025-07-22 | 1 | -1/+1 |
| | | |||||
| * | implement "you control" target constraint | Florian Fischer | 2025-07-22 | 1 | -3/+3 |
| | | |||||
| * | change move action representation | Florian Fischer | 2025-07-19 | 1 | -2/+2 |
| | | |||||
| * | add initial support for marshaling actions to plain text | Florian Fischer | 2025-07-06 | 1 | -0/+61 |
| | | |||||
| * | add new random draft pick action | Florian Fischer | 2025-07-06 | 1 | -0/+5 |
| | | |||||
| * | improve interface documentation | Florian Fischer | 2025-07-03 | 1 | -2/+5 |
| | | |||||
| * | move hand card removal to the play action's costs | Florian Fischer | 2025-07-03 | 1 | -3/+4 |
| | | |||||
| * | export more information during a draft | Florian Fischer | 2025-07-03 | 1 | -0/+6 |
| | | |||||
| * | implement simple bot based draft | Florian Fischer | 2025-05-01 | 1 | -0/+22 |
| | | |||||
| * | introduce game.State interface abstraction | Florian Fischer | 2025-01-27 | 1 | -60/+89 |
| | | | | | | This allows to not use the internal game state directly from client code. | ||||
| * | pass the PlayAction to the cards onPlay implementations | Florian Fischer | 2025-01-27 | 1 | -15/+27 |
| | | | | | | 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 |
| | | |||||
| * | implment upkeep costs using ResourceCosts | Florian Fischer | 2025-01-27 | 1 | -1/+1 |
| | | |||||
| * | add function to create a DeclareTriggeredActionsAction | Florian Fischer | 2025-01-27 | 1 | -3/+7 |
| | | |||||
| * | support parsing variadic costs | Florian Fischer | 2025-01-27 | 1 | -4/+4 |
| | | | | | | TODO: * select the variadic components * test the costs type | ||||
| * | game: support actions without cost func | Florian Fischer | 2025-01-27 | 1 | -4/+9 |
| | | |||||
| * | prompt the user to order its triggers | Florian Fischer | 2025-01-27 | 1 | -1/+33 |
| | | | | | | | | | 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 | 1 | -0/+23 |
| | | |||||
| * | implement equipment with next unit play option | Florian Fischer | 2025-01-27 | 1 | -2/+13 |
| | | | | | Also make more state methods private. | ||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -12/+52 |
| | | | | | | | | | | | | * 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 | ||||
| * | intermeditae commit | Florian Fischer | 2025-01-27 | 1 | -4/+46 |
| | | | | | | | * implement dopping piles * implement simple spell targeting * add some simple spells | ||||
| * | implement equip action | Florian Fischer | 2025-01-27 | 1 | -8/+55 |
| | | |||||
| * | export less methods | Florian Fischer | 2025-01-27 | 1 | -9/+9 |
| | | |||||
| * | implement unit and artifact switch action | Florian Fischer | 2025-01-27 | 1 | -22/+60 |
| | | | | | | | | | | | Simplify the Choice Widget and make it a TextBox variant. Drive-by fixes: * ui.Collection: prioritize newer widgets during active widget selection * game.FullAction: fix incorrect cost function. Full actions cost all available actions. Also fix the cost check | ||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -44/+33 |
| | | | | | | | | | | | | | * 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 commit | Florian Fischer | 2025-01-27 | 1 | -68/+103 |
| | | |||||
| * | remove card from hand when declaring a play action | Florian Fischer | 2025-01-27 | 1 | -2/+0 |
| | | |||||
| * | implement TargetSelection and card targeting | Florian Fischer | 2025-01-27 | 1 | -0/+10 |
| | | |||||
| * | implement most of nautics cards | Florian Fischer | 2025-01-27 | 1 | -3/+4 |
| | | |||||
| * | improve permanent pile support | Florian Fischer | 2025-01-27 | 1 | -2/+10 |
| | | | | | | | * 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 | ||||
| * | fix format strings and run make fmt | Florian Fischer | 2025-01-27 | 1 | -8/+8 |
| | | |||||
| * | change attack action target to 'attackable enemy permanent' | Florian Fischer | 2025-01-27 | 1 | -1/+1 |
| | | | | | Implement attackable constraint. | ||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -111/+192 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -2/+0 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -25/+34 |
| | | |||||
| * | intermeditae commit | Florian Fischer | 2025-01-27 | 1 | -32/+78 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -24/+45 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -24/+87 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -3/+130 |
| | | | | | Implement actions and multiple ui widgets | ||||
| * | intermediate commit | Florian Fischer | 2025-01-27 | 1 | -0/+6 |
