Commit Graph

243 Commits

Author SHA1 Message Date
9b8e3a7be3 fix: fix duplicate position adding 2021-07-24 22:58:02 +02:00
4eb61a8f48 fix: random neighbour field technically doesnt allow coordinates outside the map 2021-07-24 22:29:57 +02:00
23cceb9622 fix: resolve minor problem in free neighbour search 2021-07-24 21:40:00 +02:00
154ee9c0f2 fix: *facepalm* 2021-07-19 17:47:59 +02:00
4f9f6e0195 fix: make vector scaling round 2021-07-19 15:27:48 +02:00
996addcaf8 fix: fix terrible vector handling 2021-07-19 14:36:18 +02:00
e9b4bc5f58 feat: implemented still-missing JSON ser/deser for portalEntities 2021-07-12 21:16:02 +02:00
518e458c5f fix: add additional protection to stone cooldown check 2021-07-07 15:00:12 +02:00
6885dcc13d fix: stone cooldown check needs to check for > 0 2021-07-07 14:58:24 +02:00
70529f04d8 fix: prevent getFreeNeighbour from choosing positions outside of the map 2021-07-06 12:55:53 +02:00
a7b0514bd8 fix: fix turn count 2021-07-02 15:39:21 +02:00
bacb6a65df fix: make game logic methods accessible for ai 2021-07-01 18:32:44 +02:00
1dabd1d25d fix: make GameState accessible for ai 2021-07-01 17:25:14 +02:00
7fffe2efbb cleanup: remove moved code 2021-07-01 15:02:39 +02:00
a289fee059 fix: use own methods in JSON constructor and add javadoc 2021-07-01 11:28:01 +02:00
07ade1696d fix: fixed IntVector2 add method 2021-06-30 22:50:09 +02:00
ed4b454379 feat: added setter for CharacterConfig in JSON 2021-06-30 22:49:59 +02:00
bc3319eed0 fix: stop making duplicate properties which are difficult to access 2021-06-29 08:38:04 +02:00
be7dd1ca94 feat: add portal support 2021-06-24 22:07:40 +02:00
7b1ce8af8f fix: make thanos also knock out characters he walks over, adapt for new UseInfinityStoneRequest 2021-06-24 20:41:37 +02:00
7334b234d4 feat: implemented JSON stuff related to PortalEvents 2021-06-24 15:51:18 +02:00
371424e6c3 feat: added PortalEvent to EventBuilder 2021-06-24 15:37:30 +02:00
81e53edb2a feat: added TeleportedEvent 2021-06-24 15:28:29 +02:00
abdd4dfbb7 feat: added customRequest type 2021-06-24 15:17:35 +02:00
f2e737373a feat: implemented CustomRequest 2021-06-09 16:03:08 +02:00
b8402f636f fix: turns out turn count means something totally different 2021-06-07 15:16:37 +02:00
7a5d9dca76 wip: implement action tree and minimax for ai 2021-06-07 03:06:33 +02:00
81cbec5348 fix: mind stone creates an infinite ray 2021-06-07 00:27:58 +02:00
2b11633ced fix: make character selection use characterIDs and not indices 2021-06-06 23:00:03 +02:00
598a1e00c1 wip: implement score caltulation and action possibilities 2021-06-06 22:42:06 +02:00
98b47ea688 fix: fixed ArrayIndexOOB in getting characters 2021-06-06 21:36:29 +02:00
5202b63c2e refactor: changed some ArrayList types to Lists for compatibility 2021-06-06 17:56:04 +02:00
29db6c018c feat: implemented aquiring characters of random order in CharacterConfig 2021-06-06 03:21:21 +02:00
e9640a9a8a refactor: generated equals and hashcode for tuples 2021-06-06 03:20:58 +02:00
220136af55 wip: create proper board analyzer for ai 2021-06-05 20:52:15 +02:00
b183f623d6 feat: implemented Tuple.of() 2021-06-05 19:40:58 +02:00
871c380952 fix: fixed non-empty String validation to be non-empty 2021-06-05 16:47:05 +02:00
b9a6308d6b feat: added min size of 12 to validation of characterConfig 2021-06-05 16:24:35 +02:00
bf2ef23733 fix: enabled validation for all characters in CharacterConfig 2021-06-05 16:21:46 +02:00
ebf9e3e393 fix: fixed not-found types by importing enums directly 2021-06-05 16:10:41 +02:00
b8996ade85 fix: improved string concatenation in ValidationUtility 2021-06-05 16:10:23 +02:00
08707e7e73 feat: added validation to ScenarioConfig 2021-06-05 16:10:05 +02:00
e9987b4d4f refactor: renamed Validation to ValidationUtility 2021-06-05 16:01:06 +02:00
e42bce7917 feat: implemented JSON validation 2021-06-05 15:57:33 +02:00
c97ff03a68 wip: prepare ai for using action trees and boards with score calculation 2021-06-05 05:19:07 +02:00
aa1d2c48df refactor: split ai into client and "brain" 2021-06-05 04:19:58 +02:00
2cbd86b725 feat: trace win reason for logging 2021-06-05 04:19:37 +02:00
f2a961d159 fix: resolve various issues with ai, cloning and turn order handling 2021-06-05 04:00:25 +02:00
cd992b0fa6 doc: added logging in case of failed de/serialization 2021-06-04 19:48:40 +02:00
d74cd114cc feat: added static methods to JSON for configuration deserialization 2021-06-04 18:44:54 +02:00