aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* introduce new boss typebossFlorian Fischer2025-04-039-12/+22
|
* improve codeFlorian Fischer2025-01-274-8/+5
| | | | | | * explicitly ignore errors where appropriate * do not append in a loop * specify format string in Errorf
* add centering texct box to dummy uiFlorian Fischer2025-01-271-1/+7
|
* make: use all as default target and run golangci-lint in each packageFlorian Fischer2025-01-271-5/+13
|
* migrate to ebiten/v2/text/v2Florian Fischer2025-01-279-73/+79
|
* finish the shy AIFlorian Fischer2025-01-274-14/+114
|
* add clownfish implementationFlorian Fischer2025-01-271-0/+16
|
* make walls not suitable for permanentsFlorian Fischer2025-01-271-0/+3
|
* finish the target-oriented aiFlorian Fischer2025-01-275-39/+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 checkFlorian Fischer2025-01-272-4/+10
| | | | | Do not allow to declare slow play actions in the client. Fix the slow action check in the game state.
* introduce game.State interface abstractionFlorian Fischer2025-01-2726-402/+514
| | | | | This allows to not use the internal game state directly from client code.
* remove equipment drop action from TODOFlorian Fischer2025-01-271-3/+1
| | | | it is currently not implemented by the rules
* make language of appear! more preciseFlorian Fischer2025-01-273-3/+3
|
* support choosing a value for X when playing cards with variadic costsFlorian Fischer2025-01-271-9/+27
|
* support calculating Costs including chosen variadic costsFlorian Fischer2025-01-271-3/+14
|
* fix character range loop in cost parsingFlorian Fischer2025-01-271-1/+1
|
* update the TODO since X spells are somewhat supportedFlorian Fischer2025-01-271-1/+1
|
* make the wording on appear! more preciseFlorian Fischer2025-01-271-2/+2
|
* add dummy-ui mod to test and play with ui componentsFlorian Fischer2025-01-273-3/+51
|
* ui: add new number choiceFlorian Fischer2025-01-272-11/+101
|
* pass the PlayAction to the cards onPlay implementationsFlorian Fischer2025-01-275-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 actionFlorian Fischer2025-01-271-3/+6
|
* update dependenciesFlorian Fischer2025-01-272-35/+40
|
* implement appear!Florian Fischer2025-01-272-0/+20
|
* add swimming effect to fish trapFlorian Fischer2025-01-273-6/+14
|
* fix available unit actionsFlorian Fischer2025-01-272-16/+22
|
* check if Targets allow a selectionFlorian Fischer2025-01-272-1/+11
| | | | This fixes highlighting when an action needs no targets at all.
* only generate ArtifactMoveActions if the switched positions are suitableFlorian Fischer2025-01-272-9/+16
|
* get position from containing permanentFlorian Fischer2025-01-271-3/+3
|
* implment upkeep costs using ResourceCostsFlorian Fischer2025-01-274-13/+10
|
* fix some kraken card implementationsFlorian Fischer2025-01-271-2/+7
| | | | | * Devour the Poor!: Check if a card is buyable * Frost Pylon: Only spawn on free tiles
* client: start trigger implementationFlorian Fischer2025-01-271-0/+14
|
* add death trigger to flyingDutchmenImplFlorian Fischer2025-01-271-4/+12
|
* add illusionist implementationFlorian Fischer2025-01-271-0/+28
|
* add function to create a DeclareTriggeredActionsActionFlorian Fischer2025-01-271-3/+7
|
* fix trigger ordering for kraken AI always sending PassPriorityFlorian Fischer2025-01-271-2/+7
|
* emit target and death eventsFlorian Fischer2025-01-271-0/+12
|
* add new trigger and event implementationsFlorian Fischer2025-01-271-8/+78
|
* run state based actions before players receive priorityFlorian Fischer2025-01-271-0/+1
|
* make CardPaths a value receiverFlorian Fischer2025-01-271-1/+1
|
* support parsing variadic costsFlorian Fischer2025-01-276-36/+116
| | | | | TODO: * select the variadic components * test the costs type
* update dependencies and revert AppendInputChars changeFlorian Fischer2025-01-273-94/+31
|
* add onETB card hookFlorian Fischer2025-01-272-0/+9
|
* improve tile connection detectionFlorian Fischer2025-01-271-26/+13
|
* support special wall, gate and tower tile selectionFlorian Fischer2025-01-272-15/+138
|
* bump dependenciesFlorian Fischer2025-01-272-28/+39
|
* game: support X effects ending with punctuationFlorian Fischer2025-01-271-2/+6
|
* game: support actions without cost funcFlorian Fischer2025-01-271-4/+9
|
* cardImplementations: fix use of wrong nested structFlorian Fischer2025-01-271-18/+12
|
* prompt the user to order its triggersFlorian Fischer2025-01-274-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.