WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Releases: triplea-game/triplea

2022-June-22 - Prerelease - 2.6.961

22 Jun 03:39
5c8f5e9

Choose a tag to compare

Pre-release
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

22 Jun 02:00
37381ef

Choose a tag to compare

Pre-release
Clean up some ProPurchaseAi code. (#10727)

2022-June-21 - Prerelease - 2.6.959

21 Jun 02:10
77babae

Choose a tag to compare

Pre-release
Clean up some matches code. (#10725)

2022-June-21 - Prerelease - 2.6.958

21 Jun 02:00
afdefcc

Choose a tag to compare

Pre-release
Clean up some code in ProPurchaseAi.java. (#10724)

2022-June-20 - Prerelease - 2.6.957

20 Jun 03:20
425a49a

Choose a tag to compare

Pre-release
Fix ProMatches logic around passable sea territories. (#10719)

2022-June-20 - Prerelease - 2.6.956

20 Jun 00:20
a9e96d4

Choose a tag to compare

Pre-release
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

20 Jun 00:19
a1a2188

Choose a tag to compare

Pre-release
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

19 Jun 23:45
4325886

Choose a tag to compare

Pre-release
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

19 Jun 17:46
b51fb8c

Choose a tag to compare

Pre-release
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

19 Jun 17:42
8e2c8f2

Choose a tag to compare

Pre-release
Client Version Header: add a client version header to websocket reque…