Commit Graph

276 Commits

Author SHA1 Message Date
e88476eb10 cleanup: optimize imports, remove unused code, fix warnings 2021-06-01 19:26:29 +02:00
4d467d6d95 fix: destroy infinity stone entities if picked up 2021-06-01 19:16:57 +02:00
850c46c6e1 feat: add thanos' ai 2021-06-01 19:14:44 +02:00
2f45e2b772 feat: add 4-connected Bresenham pathfinding algorithm 2021-06-01 18:30:32 +02:00
8e6f61a665 fix: add missing checks to game logic and fix events not being applied 2021-06-01 17:59:45 +02:00
9c2c814e98 cleanup: optimize imports 2021-06-01 17:19:48 +02:00
5984e40384 fix: improve rasterization and tests 2021-06-01 17:15:44 +02:00
0572450ced refactor: changed returnType of checkRequestsAndApply to list 2021-06-01 16:53:45 +02:00
141469c11f refactor: changed returnType of checkRequestAndApply to optional 2021-06-01 16:34:08 +02:00
842db2439a breaking: remove observable pattern, make methods return events directly 2021-06-01 15:43:04 +02:00
4802b0113d feat: implemented NPC serialization properly 2021-06-01 14:04:50 +02:00
C H
fe7687bc21 added some tests for Events, Requests and their Builders 2021-06-01 09:40:03 +02:00
6c06beb366 fix: that's not supposed to be in there 2021-06-01 00:52:24 +02:00
cce1622a45 WIP: add full game test base 2021-06-01 00:50:43 +02:00
ae9f5902e1 refactor: create proper game logic test 2021-06-01 00:50:29 +02:00
787ba7d38e fix: naming and field occupation during game initialization 2021-06-01 00:48:49 +02:00
bfe7b10169 feat: implemented EntitySerializer and partial test 2021-06-01 00:42:54 +02:00
ad9d314b6b refactor: removed unused imports in JSON 2021-06-01 00:42:46 +02:00
23777bad33 refactor: extracted SerializedEntityType enum 2021-06-01 00:33:43 +02:00
20f014209a feat: added inventory method to get inventory as array 2021-06-01 00:33:43 +02:00
bccffad8f0 fix: more code is apparently better 2021-06-01 00:32:07 +02:00
3238f45836 refactor: matched test packages to previous refactor 2021-05-31 23:41:40 +02:00
d080fff5d3 refactor: arranged de/serializers into packages 2021-05-31 23:38:22 +02:00
852c85df08 feat: partial rewrite of JSON wit support for CharacterConfig 2021-05-31 23:25:41 +02:00
c8d34fcc97 feat: implemented config-based character deserialization 2021-05-31 23:25:41 +02:00
fa6207e47d feat: characterConfig now has a HashMap for values 2021-05-31 23:25:41 +02:00
9a9fe4ae97 feat: add thanos into the handling 2021-05-31 22:54:13 +02:00
1ba5410fd6 fix: improve the terrible rasterization code 2021-05-31 22:50:44 +02:00
4b794e99e9 feat: add proper game initialization 2021-05-31 21:37:18 +02:00
184c839c3a fix: utilize config in GameLogic 2021-05-31 18:30:26 +02:00
c0b8108c76 fix: added jqwik database to gitignore 2021-05-31 18:25:18 +02:00
483c273c30 fix: added jqwik Databse file to git 2021-05-31 18:21:54 +02:00
7c36ea5c5c fix: add configs to GameInstance and fix GameState snapshots 2021-05-31 18:07:53 +02:00
ab011e54da test: partial test for EventDeserializer 2021-05-31 17:57:55 +02:00
488b18b40c fix: make configuration class names consistent 2021-05-31 17:51:57 +02:00
d09a733f2a feat: add CharacterConfig 2021-05-31 17:50:15 +02:00
213955bc37 fix: reset turnCount at the beginning of a new round 2021-05-31 17:37:37 +02:00
a69d8b916f refactor: improved information hiding in RequestDeserializerTest 2021-05-31 15:03:11 +02:00
C H
bf574cec1e Update RequestBuilderTest.java 2021-05-30 18:51:30 +02:00
C H
1e47a63cb7 Merge branch 'gamelib' of https://gitlab.informatik.uni-ulm.de/sopra/ws20-marvelous-mashup/teams/team25 into gamelib 2021-05-30 18:50:33 +02:00
C H
75e9ee07a5 testing: RequestBuilder testing 2021-05-30 18:50:21 +02:00
e6dc10e3f5 feat: implemented proper Request serialization 2021-05-30 18:07:28 +02:00
6a6669ae5d refactor: re-formatted JSONTest 2021-05-30 18:07:05 +02:00
2ff309500e feat: implemented proper stringify in the JSON class, and changed ObjectMapper to static 2021-05-30 18:06:18 +02:00
d2216f190a feat: removed ObjectMapper in deserializers, and replaced it with context-based mapping 2021-05-30 17:22:02 +02:00
9192677ca1 fix: corrected JSON property order of CharacterRequest 2021-05-30 17:03:29 +02:00
27c3d6554a fix: fixed JSON mapping of requestTypes 2021-05-30 17:01:48 +02:00
cb0f2cae13 feat: optimized IntVector2Deserializer 2021-05-30 17:01:27 +02:00
d0829f3948 feat: implemented proper deserialization for EntityID and IntVector2 2021-05-30 17:00:59 +02:00
42e57daa54 test: started writing GameLogic test, and added providers for several types 2021-05-28 17:25:49 +02:00