This website requires JavaScript.
ab011e54da
test: partial test for EventDeserializer
Yannik Bretschneider
2021-05-31 17:57:48 +0200
488b18b40c
fix: make configuration class names consistent
punchready
2021-05-31 17:51:57 +0200
d09a733f2a
feat: add CharacterConfig
punchready
2021-05-31 17:50:15 +0200
213955bc37
fix: reset turnCount at the beginning of a new round
punchready
2021-05-31 17:37:37 +0200
a69d8b916f
refactor: improved information hiding in RequestDeserializerTest
Yannik Bretschneider
2021-05-31 15:03:11 +0200
bf574cec1e
Update RequestBuilderTest.java
C H
2021-05-30 18:51:30 +0200
1e47a63cb7
Merge branch 'gamelib' of https://gitlab.informatik.uni-ulm.de/sopra/ws20-marvelous-mashup/teams/team25 into gamelib
C H
2021-05-30 18:50:33 +0200
75e9ee07a5
testing: RequestBuilder testing
C H
2021-05-30 18:50:21 +0200
e6dc10e3f5
feat: implemented proper Request serialization
Yannik Bretschneider
2021-05-30 18:07:28 +0200
6a6669ae5d
refactor: re-formatted JSONTest
Yannik Bretschneider
2021-05-30 18:07:05 +0200
2ff309500e
feat: implemented proper stringify in the JSON class, and changed ObjectMapper to static
Yannik Bretschneider
2021-05-30 18:06:18 +0200
d2216f190a
feat: removed ObjectMapper in deserializers, and replaced it with context-based mapping
Yannik Bretschneider
2021-05-30 17:22:02 +0200
9192677ca1
fix: corrected JSON property order of CharacterRequest
Yannik Bretschneider
2021-05-30 17:03:29 +0200
27c3d6554a
fix: fixed JSON mapping of requestTypes
Yannik Bretschneider
2021-05-30 17:01:48 +0200
cb0f2cae13
feat: optimized IntVector2Deserializer
Yannik Bretschneider
2021-05-30 17:01:27 +0200
d0829f3948
feat: implemented proper deserialization for EntityID and IntVector2
Yannik Bretschneider
2021-05-30 17:00:59 +0200
42e57daa54
test: started writing GameLogic test, and added providers for several types
Yannik Bretschneider
2021-05-28 17:25:49 +0200
a25231fb3e
fix: fixed bugs in RequestDeserializer, and wrote Proptests for it
Yannik Bretschneider
2021-05-28 16:20:40 +0200
da1d72d61a
refactor: nicer enum arrangement of RequestTypes
Yannik Bretschneider
2021-05-28 16:20:22 +0200
b871b4d3a4
refactor: split MessageStructure into multiple messages, as a starting point for proper implementation of the login standard
Yannik Bretschneider
2021-05-28 14:51:17 +0200
a92f437412
feat: completed RequestDeserializer
Yannik Bretschneider
2021-05-28 14:50:38 +0200
b2b963579e
test: wrote proptest for IntVector to practise proptesting
Yannik Bretschneider
2021-05-28 14:47:15 +0200
745bea58b8
feat: added jqwik to gradle test task
Yannik Bretschneider
2021-05-28 14:46:17 +0200
560c57cbfa
feat: added .jqwik-database to gitignore
Yannik Bretschneider
2021-05-28 14:45:31 +0200
b1e7518e74
merge: merging remote changes into local gamelib
Yannik Bretschneider
2021-05-28 13:43:49 +0200
d272ca98a6
feat: added the proptesting test engine jqwik to the build.gradle
Yannik Bretschneider
2021-05-28 13:42:37 +0200
0ba55f4922
Merge branch 'gamelib' of https://gitlab.informatik.uni-ulm.de/sopra/ws20-marvelous-mashup/teams/team25 into gamelib
C H
2021-05-28 13:18:43 +0200
d2cb873c89
Merge branch 'gamelib' of https://gitlab.informatik.uni-ulm.de/sopra/ws20-marvelous-mashup/teams/team25 into gamelib
C H
2021-05-28 13:18:43 +0200
940d8a8d97
EventBuilder Tests
C H
2021-05-28 13:18:20 +0200
0696176609
fix: allow EndRoundRequest event
punchready
2021-05-27 18:02:30 +0200
830ef22997
feat/refactor: actually track win conditions
punchready
2021-05-27 17:58:44 +0200
7f7459e7a7
fix: make movement events pick up infinity stones
punchready
2021-05-27 17:30:36 +0200
3522cee9a4
feat: add stone cooldown handling
punchready
2021-05-27 17:26:46 +0200
0f50efa121
feat: add handling for overtime victories
punchready
2021-05-27 17:18:36 +0200
a416698adf
feat: add handling for stan and goose
punchready
2021-05-27 17:08:08 +0200
01ccabad14
refactor: massively improve turn and round handling code
punchready
2021-05-27 15:57:06 +0200
7dcffab0a6
feat: changed ObjectMapper to static for the JSON deserializers
Yannik Bretschneider
2021-05-26 16:16:48 +0200
65c33d886c
fix: removed checksum from MessageStructure
Yannik Bretschneider
2021-05-21 22:33:01 +0200
a4c510279a
test: fixed EventDeserializerTest and implemented the GameEvent test part of it
Yannik Bretschneider
2021-05-21 14:16:19 +0200
035bf2eb7c
refactor: generated Equals and HashCode for requests where necessary
Yannik Bretschneider
2021-05-21 14:16:02 +0200
596ace355a
feat: implement method to start a game
punchready
2021-05-19 20:04:10 +0200
f3b5fc277e
wip: implement post turn handling
punchready
2021-05-19 19:59:41 +0200
7bac3bd46a
feat: properly expose EntityManager
punchready
2021-05-19 18:24:07 +0200
bd442bedfc
feat: add RequestBuilder and test base
punchready
2021-05-18 19:03:34 +0200
588633fe46
fix: add more necessary getters to GameStateView
punchready
2021-05-18 18:44:01 +0200
1348e342d6
refactor: removed deprecated checksum
punchready
2021-05-18 18:14:03 +0200
a6e90ef0f4
fix: fixed a typo in RequestType
Yannik Bretschneider
2021-05-18 17:58:35 +0200
72cec32253
fix: make EventObserver use an array of events
punchready
2021-05-18 17:24:07 +0200
2aefddf979
Merge branch 'gamelib' of ssh://gitlab.informatik.uni-ulm.de/sopra/ws20-marvelous-mashup/teams/team25 into gamelib
Yannik Bretschneider
2021-05-18 14:19:23 +0200
37e84b6e15
feat: created BasicAnswer, and cleaned up some code
Yannik Bretschneider
2021-05-18 14:19:09 +0200
9fa5c554ef
feat: expose methods for game state event handling
punchready
2021-05-18 14:14:23 +0200
2d33f150a8
refactor: remove todo
Yannik Bretschneider
2021-05-18 14:02:55 +0200
0bb4ba21df
fix: code cleanup
punchready
2021-05-18 13:56:41 +0200
b00ba50f97
feat: implement GameLogic.applyEvent
punchready
2021-05-18 13:55:36 +0200
729a1d4a71
feat: add handling and checking for MindStone
punchready
2021-05-18 13:21:36 +0200
4b69cca440
test: un-disabled JSONTest
Yannik Bretschneider
2021-05-17 20:11:21 +0200
1bd4e8a9c5
feat: partially created a test for EventDeserialzer, still needs some work
Yannik Bretschneider
2021-05-17 20:10:42 +0200
f3744ef225
feat: completed event deserializer, completing the deserialization pipeline
Yannik Bretschneider
2021-05-17 20:10:13 +0200
c5fe7ec7db
fix: fixed GamestateEvent deserialization test
Yannik Bretschneider
2021-05-17 18:48:58 +0200
156677f290
test: wrote partial EventDeserializer test
Yannik Bretschneider
2021-05-13 16:11:13 +0200
3929bde062
test: removed prints from tests
Yannik Bretschneider
2021-05-13 16:11:02 +0200
2bfa17bef7
test: disabled two non-relevant tests
Yannik Bretschneider
2021-05-13 16:10:51 +0200
5701cedcf4
fix: added eventType to toString methods of events
Yannik Bretschneider
2021-05-13 14:21:32 +0200
868df160bb
feat: implemented EntityDeserializer and EntityDeserializerTest
Yannik Bretschneider
2021-05-11 23:11:17 +0200
f7b1514491
feat: wrote EntityDeserializer
Yannik Bretschneider
2021-05-11 21:17:55 +0200
28ac25fa55
refactor: generated equals, hashCode and toString for entity classes
Yannik Bretschneider
2021-05-11 21:17:06 +0200
1cb2c145d1
feat: added integer conversion to StoneType enum
Yannik Bretschneider
2021-05-11 21:00:33 +0200
f4123481bc
feat: implemented deserializer for IntVector2 and created a test for it
Yannik Bretschneider
2021-05-11 20:26:57 +0200
f09b9e2388
feat: connected deserializers to classes
Yannik Bretschneider
2021-05-11 06:14:43 +0200
6947105077
feat: created proper JSON deserializer and created test for JSON, which is still used for TDD
Yannik Bretschneider
2021-05-11 06:14:18 +0200
e3635851d2
feat: created deserializer for EntityIDs
Yannik Bretschneider
2021-05-11 06:13:38 +0200
734445275d
feat: added JSON deserialization code to the JSON class
Yannik Bretschneider
2021-05-11 06:13:21 +0200
062281fdcb
refactor: prepared GamestateEvent and MessageStructure for further steps by generating Equals and ToString
Yannik Bretschneider
2021-05-11 06:11:01 +0200
2b5d46f577
fix: changed character encoding for gradle compile to UTF-8
Yannik Bretschneider
2021-05-11 05:06:28 +0200
6e9efa1a59
refactor: changed GameStateEvent to GamestateEvent
Yannik Bretschneider
2021-05-11 05:06:00 +0200
e31cc1644d
fix: added CustomEvents category for CustomEvent in EventType enum
Yannik Bretschneider
2021-05-11 04:26:44 +0200
7129f0f3ab
fix: removed Req from EventTypes as it's now a request, not an event
Yannik Bretschneider
2021-05-11 04:25:35 +0200
1a98f25139
feat: add handling and checking for UseInfinityStoneRequest, fix: use proper distance calculations for some checks
punchready
2021-05-11 03:50:24 +0200
4203092f9a
fix: fixed building gamestate events (and the tests relating to that)
Yannik Bretschneider
2021-05-11 03:20:19 +0200
bbcff5d94b
fix: changed project sdk and compiler settings to non-standard 15
Yannik Bretschneider
2021-05-05 20:52:51 +0200
c2d1c2cc98
feat: handle Req request and remove handling of lobby events
punchready
2021-05-05 18:59:07 +0200
a9c80cb19b
fix: add new event properties to builder
punchready
2021-05-05 18:58:39 +0200
56a90f6bdf
feat: added new request types
Yannik Bretschneider
2021-05-05 17:49:36 +0200
3038368ad8
feat: reworked GamestateEvent according to new standard
Yannik Bretschneider
2021-05-05 17:32:18 +0200
9405b89fb3
fix: resolve event emitter not emitting because of missing call to setChanged
punchready
2021-05-03 20:19:17 +0200
a5ccba0326
refactor: switch to EventBuilder
punchready
2021-05-03 19:36:30 +0200
80c77b7956
refactor: move event checks from builder to their respective classes
punchready
2021-05-03 19:25:36 +0200
d36466a5a0
refactor: make GameLogic.checkRequest use error pattern and simple check methods
punchready
2021-05-02 15:34:42 +0200
05f4751a2c
feat: properly handle movement requests
punchready
2021-05-02 14:38:03 +0200
d06ac91ef8
refactor: clean up code and improve event builder
punchready
2021-05-02 14:28:51 +0200
45ac7d6a62
fix: properly add new pause events
punchready
2021-05-02 13:24:27 +0200
3e36947d3e
feat: partially finished test for EventBuilder
Yannik Bretschneider
2021-05-02 04:14:28 +0200
c190111de1
feat: completed EventBuilder with complete exception-based event checking for all events
Yannik Bretschneider
2021-05-02 04:14:00 +0200
1bd3cdf63f
fix: rewrote CharacterEvent equals for nullability compatibility
Yannik Bretschneider
2021-05-02 03:19:15 +0200
326c469e55
fix: changed event types to non-primitives for nullability
Yannik Bretschneider
2021-05-02 03:15:20 +0200
e6cc61a272
feat: rewrote EntityBuilder to check for entity correctness when building entities
Yannik Bretschneider
2021-05-02 02:58:39 +0200
091e6eb688
fix: added entity to entityEvents as this is required for the SpawnEntityEvent
Yannik Bretschneider
2021-05-02 02:58:02 +0200
06af6b37f3
feat: added pause event types to eventType enum
Yannik Bretschneider
2021-05-02 02:15:32 +0200
3b286c3cad
merge: merged comment in EventBuilder for better formating
Yannik Bretschneider
2021-05-02 02:04:31 +0200
608cd829c4
temp: half finished but ineffective EventBuilder, to be reworked
Yannik Bretschneider
2021-05-02 00:05:55 +0200