aboutsummaryrefslogtreecommitdiff
path: root/go/game/unit_test.go
Commit message (Collapse)AuthorAgeFilesLines
* update the YAML map definitions in the game testsFlorian Fischer2025-09-041-2/+2
|
* remove global test state and boiler plateFlorian Fischer2025-08-221-8/+3
|
* support parsing of simple equipment effectsFlorian Fischer2025-08-201-2/+2
|
* add support for flexible attacksFlorian Fischer2025-08-201-2/+2
|
* minor code improvements reported by golangci-lintFlorian Fischer2025-08-201-5/+2
|
* improve x-effect parsingFlorian Fischer2025-08-201-0/+9
|
* do not pass the map through the Attackable* function familyFlorian Fischer2025-08-201-3/+3
|
* implement tower tile effectFlorian Fischer2025-08-201-0/+50
|
* add unit assertionFlorian Fischer2025-08-201-2/+1
|
* remove player color from game codeFlorian Fischer2025-08-201-1/+1
|
* finish the shy AIFlorian Fischer2025-08-201-1/+1
|
* introduce game.State interface abstractionFlorian Fischer2025-08-201-9/+10
| | | | | This allows to not use the internal game state directly from client code.
* implement equipment with next unit play optionFlorian Fischer2025-08-201-3/+3
| | | | Also make more state methods private.
* intermediate commitFlorian Fischer2025-08-201-2/+2
| | | | | | | | | | | * 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
* export less methodsFlorian Fischer2025-08-201-1/+1
|
* add dummy player to unit testsFlorian Fischer2025-08-201-3/+6
|
* intermediate commitFlorian Fischer2025-08-201-0/+6
| | | | adding area effects and hooks for permanents entering and leaving tiles
* fix some warnings reported by golang-ciFlorian Fischer2025-08-201-1/+1
|
* improve permanent pile supportFlorian Fischer2025-08-201-0/+12
| | | | | | * 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 crewingFlorian Fischer2025-08-201-0/+60
* Introduce new callback for leaving a pile without beeing dropped * Fix equipment contrsuctor * Implement attack inheritance