Commit Graph

85 Commits

Author SHA1 Message Date
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
f2a961d159 fix: resolve various issues with ai, cloning and turn order handling 2021-06-05 04:00:25 +02:00
d74cd114cc feat: added static methods to JSON for configuration deserialization 2021-06-04 18:44:54 +02:00
672e5e7727 fix: fixed sonarqube-reported bugs in JSON and EventBuilderTest 2021-06-04 14:54:25 +02:00
dce1aed9ad wip: add simple ai and a full game test with ai 2021-06-04 07:47:54 +02:00
23a8bcdeb4 fix: properly create random values for characters 2021-06-04 06:42:16 +02:00
0fce509111 refactor: create base test class for later use 2021-06-04 03:53:00 +02:00
78d3fb84d0 refactor: changed AssignmentEnum's name to ParticipantType 2021-06-03 23:38:43 +02:00
4e5ebd7342 test: implemented complete JSON test 2021-06-03 23:08:11 +02:00
5d5f649be1 fix: fixed a typo in Test name 2021-06-03 22:40:02 +02:00
cef69473c7 refactor: divided messages into server and client packages 2021-06-03 22:22:23 +02:00
c67968896b test: complete tests for message (de)serialization 2021-06-03 22:16:45 +02:00
173fc70c3b test: completed MessageDeserializationTest 2021-06-03 20:54:50 +02:00
de6e9abfd7 refactor: fixing codestyle and improving codequality 2021-06-03 19:33:14 +02:00
29f5eed2fb refactor: code cleanup 2021-06-03 19:22:32 +02:00
40a0a0c0c5 refactor: moved MessageType 2021-06-03 15:57:53 +02:00
fa8d8fcd00 fix: fixed several bugs in EventSerializer 2021-06-03 15:57:23 +02:00
C H
34dcc75400 Update EventSerializerTest.java 2021-06-03 15:15:55 +02:00
C H
f54bae4c1f EventSerializer tests 2021-06-03 15:01:01 +02:00
C H
d70cd36a39 Update EntitySerializerTest.java 2021-06-03 09:47:34 +02:00
C H
d99a2ce3c3 Update EntitySerializerTest.java 2021-06-03 09:17:47 +02:00
b80b96a3a0 fix: improve pathfinding test 2021-06-03 02:56:09 +02:00
1601a2560d feat: add support for the GamestateEvent in applyEvent 2021-06-03 02:51:44 +02:00
3bb6d81b27 refactor: restructure code and fix some events not being applied 2021-06-03 02:19:10 +02:00
C H
9be5f6c10c worked on tests for EntitySerializer (not ready so far, I work again on it tomorow) 2021-06-02 18:36:35 +02:00
c07c141c6e test: fixed EntitySerializer test 2021-06-02 16:29:03 +02:00
ea3d51c408 refactor: moved config and messages out of JSON 2021-06-02 16:28:19 +02:00
b13a7db67b feat: implemented proper CharacterConfig json stuff 2021-06-02 16:10:35 +02:00
e88476eb10 cleanup: optimize imports, remove unused code, fix warnings 2021-06-01 19:26:29 +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
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
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
bfe7b10169 feat: implemented EntitySerializer and partial test 2021-06-01 00:42:54 +02:00
3238f45836 refactor: matched test packages to previous refactor 2021-05-31 23:41:40 +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
9a9fe4ae97 feat: add thanos into the handling 2021-05-31 22:54:13 +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
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