| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | allow to exit any prompt on esc | Florian Fischer | 2025-08-20 | 1 | -1/+5 |
| | | |||||
| * | do not draw the pass button multiple times | Florian Fischer | 2025-08-20 | 1 | -1/+3 |
| | | |||||
| * | validate equip and switch actions | Florian Fischer | 2025-08-20 | 1 | -1/+40 |
| | | |||||
| * | implement equip action | Florian Fischer | 2025-08-20 | 5 | -18/+142 |
| | | |||||
| * | use prompt for target selection of all actions | Florian Fischer | 2025-08-20 | 6 | -74/+154 |
| | | |||||
| * | implement targets candidates for hand cards | Florian Fischer | 2025-08-20 | 2 | -10/+20 |
| | | |||||
| * | export less methods | Florian Fischer | 2025-08-20 | 15 | -124/+120 |
| | | |||||
| * | implement unit and artifact switch action | Florian Fischer | 2025-08-20 | 9 | -79/+128 |
| | | | | | | | | | | | 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 | ||||
| * | do not prompt if there is nothing to buy | Florian Fischer | 2025-08-20 | 1 | -2/+6 |
| | | |||||
| * | move more ui logic into Collection | Florian Fischer | 2025-08-20 | 14 | -231/+374 |
| | | | | | | * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner | ||||
| * | client: use only the currently available actions in the action choice | Florian Fischer | 2025-08-20 | 4 | -8/+26 |
| | | |||||
| * | fix Wandering AI NPE for piled units | Florian Fischer | 2025-08-20 | 1 | -1/+1 |
| | | |||||
| * | replace Fatalf with Panicf | Florian Fischer | 2025-08-20 | 19 | -46/+46 |
| | | | | | Panicf includes a stacktrace and causes a debugger to halt. | ||||
| * | fix ai NPE when selecting a unit where to spawn frost pylon | Florian Fischer | 2025-08-20 | 5 | -15/+16 |
| | | | | | | The NPE is caused by any piled permanent with which TilesInRange is called. | ||||
| * | implement the basics of the rest of the base cards | Florian Fischer | 2025-08-20 | 6 | -10/+156 |
| | | | | | | * Add more TODOs * Implement permanents granting more spawn tiles | ||||
| * | fix NPE when adding the wrong widget | Florian Fischer | 2025-08-20 | 1 | -1/+1 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-08-20 | 24 | -391/+707 |
| | | |||||
| * | only scroll to the maxima | Florian Fischer | 2025-08-20 | 1 | -0/+9 |
| | | |||||
| * | sealed: only let the user select buyable cards | Florian Fischer | 2025-08-20 | 1 | -1/+6 |
| | | |||||
| * | add sealed activity to select a starting deck | Florian Fischer | 2025-08-20 | 19 | -170/+570 |
| | | |||||
| * | improve state bar | Florian Fischer | 2025-08-20 | 6 | -37/+58 |
| | | |||||
| * | remove card from hand when declaring a play action | Florian Fischer | 2025-08-20 | 2 | -2/+3 |
| | | |||||
| * | clear pile when dropping it | Florian Fischer | 2025-08-20 | 1 | -1/+1 |
| | | |||||
| * | add dummy player to unit tests | Florian Fischer | 2025-08-20 | 1 | -3/+6 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-08-20 | 6 | -36/+80 |
| | | | | | | | * 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 TargetSelection and card targeting | Florian Fischer | 2025-08-20 | 2 | -33/+104 |
| | | |||||
| * | fix unit onPile hook argument forwarding | Florian Fischer | 2025-08-20 | 1 | -1/+1 |
| | | |||||
| * | implement most of nautics cards | Florian Fischer | 2025-08-20 | 2 | -16/+112 |
| | | |||||
| * | remove debug messages from the client | Florian Fischer | 2025-08-20 | 1 | -2/+0 |
| | | |||||
| * | kraken: implement suprise! | Florian Fischer | 2025-08-20 | 2 | -11/+31 |
| | | |||||
| * | add Contains check for PileOfCards | Florian Fischer | 2025-08-20 | 1 | -0/+9 |
| | | |||||
| * | fix card IsPermanent | Florian Fischer | 2025-08-20 | 1 | -3/+3 |
| | | |||||
| * | fix artifact IsDestroyed for non solid artifacts | Florian Fischer | 2025-08-20 | 1 | -1/+1 |
| | | |||||
| * | intermediate commit | Florian Fischer | 2025-08-20 | 17 | -169/+571 |
| | | | | | adding area effects and hooks for permanents entering and leaving tiles | ||||
| * | add simple spell support | Florian Fischer | 2025-08-20 | 4 | -0/+21 |
| | | |||||
| * | fix some warnings reported by golang-ci | Florian Fischer | 2025-08-20 | 7 | -15/+9 |
| | | |||||
| * | improve permanent pile support | Florian Fischer | 2025-08-20 | 13 | -42/+161 |
| | | | | | | | * 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 | ||||
| * | support crewing | Florian Fischer | 2025-08-20 | 8 | -26/+178 |
| | | | | | | | * Introduce new callback for leaving a pile without beeing dropped * Fix equipment contrsuctor * Implement attack inheritance | ||||
| * | fix format strings and run make fmt | Florian Fischer | 2025-08-20 | 3 | -18/+18 |
| | | |||||
| * | introduce state-based action | Florian Fischer | 2025-08-20 | 2 | -12/+15 |
| | | | | | | | | | State-based action are executed anytime a action resolved to handle events caused by the game state. Currently state-based actions only destroy unit with more damage than health. | ||||
| * | add distance > 0 assertion | Florian Fischer | 2025-08-20 | 1 | -0/+4 |
| | | |||||
| * | move unit upkeep code to Unit onUpkeep hook | Florian Fischer | 2025-08-20 | 2 | -2/+5 |
| | | |||||
| * | s/constrain/constraint/ | Florian Fischer | 2025-08-20 | 1 | -61/+61 |
| | | |||||
| * | fix IsValidAttack unit type assertion | Florian Fischer | 2025-08-20 | 1 | -1/+1 |
| | | |||||
| * | fix ai full action target selection | Florian Fischer | 2025-08-20 | 1 | -4/+7 |
| | | | | | Only full actions with exactly one target were supported. | ||||
| * | change attack action target to 'attackable enemy permanent' | Florian Fischer | 2025-08-20 | 2 | -3/+62 |
| | | | | | Implement attackable constraint. | ||||
| * | set textInput input value to the specified player name | Florian Fischer | 2025-08-20 | 1 | -6/+6 |
| | | | | | | Only setting the label gives the user the wronmg impression and does not return any input. | ||||
| * | add text input and properly center text | Florian Fischer | 2025-08-20 | 7 | -37/+149 |
| | | |||||
| * | change unit attack representation and implement sword | Florian Fischer | 2025-08-20 | 6 | -21/+73 |
| | | |||||
| * | specify ActionCostFunc type to allow type assertion | Florian Fischer | 2025-08-20 | 1 | -1/+2 |
| | | |||||
