Releases: triplea-game/triplea
Releases · triplea-game/triplea
2022-June-22 - Prerelease - 2.6.961
Teach Hard AI to save up for a fleet. (#10675) With this change, Hard AI will not use its unused PUs to buy high-value non-sea units (that otherwise aren't needed) if it needs to save up for a fleet. It will do this if there are no enemy territories reachable by land from its factories and it's able to build fleets that can reach enemy land. Additionally, the logic only triggers if we tried and failed (due to not being able to defend) to place sea units and only if we're not already at the resources needed to build the max fleet we can.
2022-June-22 - Prerelease - 2.6.960
Clean up some ProPurchaseAi code. (#10727)
2022-June-21 - Prerelease - 2.6.959
Clean up some matches code. (#10725)
2022-June-21 - Prerelease - 2.6.958
Clean up some code in ProPurchaseAi.java. (#10724)
2022-June-20 - Prerelease - 2.6.957
Fix ProMatches logic around passable sea territories. (#10719)
2022-June-20 - Prerelease - 2.6.956
Refactor TripleAPlayer and move to game-headed (#10709) * Simplify type tree of Player implementations * Rename class AbstractBuiltInAi to AbstractAi * Reduce usage of PlayerType in interface * Wire labels instead of whole type * Remove redundant serviceloader mechanism * Reduce explicit dependencies on TripleAPlayer class * Move TripleAPlayer to game-headed * Remove AiProvider interface and implementations * Add fallback method for compatibility * Remove BATTLE_CALC_DUMMY player * Fix test case * Change method name
2022-June-20 - Prerelease - 2.6.955
Clean up code in ProTerritoryManager. (#10721) Make it more concise. No functional changes. Some minor perf improvements by moving some work outside loops and passing in the territory to getTransporting() to avoid scanning the full map.
2022-June-19 - Prerelease - 2.6.954
Fix a few NPEs in AI code. (#10720) I discovered these by running 1000 AI games when testing https://github.com/triplea-game/triplea/pull/10675.
2022-June-19 - Prerelease - 2.6.953
Simplify passing API key & Headers to Feign Clients (#10714) * Move class 'AuthenticationHeaders' to 'Lobby-Client' The class 'AuthenticationHeaders' is used to create headers that are specific to game-clients communicating with the lobby. Previously 'AuthenticationHeaders' was in the very generic 'http-client' package, which is not appropriate since the class is server specific. * Specify headers when creating HTTP client instead of when invoking each endpoint * Simplify, combine 'feign http clients' into their wrapper class The wrappers around the 'feign http clients' were there mostly to hide passing of headers to endpoints. Now that we have removed the need to pass headers to each individual endpoint, the wrappers provide nothing extra. This update simplifies by essentially inlining the wrapped http interfaces into their wrappers.
2022-June-19 - Prerelease - 2.6.952
Client Version Header: add a client version header to websocket reque…