Commit Graph

100 Commits

Author SHA1 Message Date
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
a25231fb3e fix: fixed bugs in RequestDeserializer, and wrote Proptests for it 2021-05-28 16:20:40 +02:00
da1d72d61a refactor: nicer enum arrangement of RequestTypes 2021-05-28 16:20:22 +02:00
b871b4d3a4 refactor: split MessageStructure into multiple messages, as a starting point for proper implementation of the login standard 2021-05-28 14:51:17 +02:00
a92f437412 feat: completed RequestDeserializer 2021-05-28 14:50:38 +02:00
0696176609 fix: allow EndRoundRequest event 2021-05-27 18:02:30 +02:00
830ef22997 feat/refactor: actually track win conditions 2021-05-27 17:58:44 +02:00
7f7459e7a7 fix: make movement events pick up infinity stones 2021-05-27 17:30:36 +02:00
3522cee9a4 feat: add stone cooldown handling 2021-05-27 17:26:46 +02:00
0f50efa121 feat: add handling for overtime victories 2021-05-27 17:18:36 +02:00
a416698adf feat: add handling for stan and goose 2021-05-27 17:08:08 +02:00
01ccabad14 refactor: massively improve turn and round handling code 2021-05-27 15:57:06 +02:00
7dcffab0a6 feat: changed ObjectMapper to static for the JSON deserializers 2021-05-26 16:16:48 +02:00
65c33d886c fix: removed checksum from MessageStructure 2021-05-21 22:33:01 +02:00
035bf2eb7c refactor: generated Equals and HashCode for requests where necessary 2021-05-21 14:16:02 +02:00
596ace355a feat: implement method to start a game 2021-05-19 20:04:10 +02:00
f3b5fc277e wip: implement post turn handling 2021-05-19 19:59:41 +02:00
7bac3bd46a feat: properly expose EntityManager 2021-05-19 18:24:07 +02:00
bd442bedfc feat: add RequestBuilder and test base 2021-05-18 19:03:34 +02:00
588633fe46 fix: add more necessary getters to GameStateView 2021-05-18 18:44:01 +02:00
1348e342d6 refactor: removed deprecated checksum 2021-05-18 18:14:03 +02:00
a6e90ef0f4 fix: fixed a typo in RequestType 2021-05-18 17:58:35 +02:00
72cec32253 fix: make EventObserver use an array of events 2021-05-18 17:24:07 +02:00
2aefddf979 Merge branch 'gamelib' of ssh://gitlab.informatik.uni-ulm.de/sopra/ws20-marvelous-mashup/teams/team25 into gamelib 2021-05-18 14:19:23 +02:00
37e84b6e15 feat: created BasicAnswer, and cleaned up some code 2021-05-18 14:19:09 +02:00
9fa5c554ef feat: expose methods for game state event handling 2021-05-18 14:14:23 +02:00
2d33f150a8 refactor: remove todo 2021-05-18 14:02:55 +02:00
0bb4ba21df fix: code cleanup 2021-05-18 13:56:41 +02:00
b00ba50f97 feat: implement GameLogic.applyEvent 2021-05-18 13:55:36 +02:00
729a1d4a71 feat: add handling and checking for MindStone 2021-05-18 13:21:36 +02:00
f3744ef225 feat: completed event deserializer, completing the deserialization pipeline 2021-05-17 20:10:13 +02:00
5701cedcf4 fix: added eventType to toString methods of events 2021-05-13 14:21:32 +02:00
868df160bb feat: implemented EntityDeserializer and EntityDeserializerTest 2021-05-11 23:11:17 +02:00
f7b1514491 feat: wrote EntityDeserializer 2021-05-11 21:17:55 +02:00
28ac25fa55 refactor: generated equals, hashCode and toString for entity classes 2021-05-11 21:17:06 +02:00
1cb2c145d1 feat: added integer conversion to StoneType enum 2021-05-11 21:00:33 +02:00
f4123481bc feat: implemented deserializer for IntVector2 and created a test for it 2021-05-11 20:26:57 +02:00
f09b9e2388 feat: connected deserializers to classes 2021-05-11 06:14:43 +02:00
6947105077 feat: created proper JSON deserializer and created test for JSON, which is still used for TDD 2021-05-11 06:14:18 +02:00
e3635851d2 feat: created deserializer for EntityIDs 2021-05-11 06:13:38 +02:00
734445275d feat: added JSON deserialization code to the JSON class 2021-05-11 06:13:21 +02:00
062281fdcb refactor: prepared GamestateEvent and MessageStructure for further steps by generating Equals and ToString 2021-05-11 06:11:01 +02:00
6e9efa1a59 refactor: changed GameStateEvent to GamestateEvent 2021-05-11 05:06:00 +02:00
e31cc1644d fix: added CustomEvents category for CustomEvent in EventType enum 2021-05-11 04:26:44 +02:00
7129f0f3ab fix: removed Req from EventTypes as it's now a request, not an event 2021-05-11 04:25:35 +02:00