Commit Graph

49 Commits

Author SHA1 Message Date
00eb5e21f3 fix: make characters drop their inventory on knockout 2021-06-03 03:06:21 +02:00
1601a2560d feat: add support for the GamestateEvent in applyEvent 2021-06-03 02:51:44 +02:00
c990356da0 fix: include knocked out characters in TurnEvent for standard compatibility 2021-06-03 02:37:03 +02:00
cc4c5ba8cb fix: include NPCs in RoundSetupEvent and TurnEvent for standard compatibility 2021-06-03 02:30:25 +02:00
3bb6d81b27 refactor: restructure code and fix some events not being applied 2021-06-03 02:19:10 +02:00
e0af4cf01c fix: minor bugfixes and standard compatibility 2021-06-03 01:39:36 +02:00
ea3d51c408 refactor: moved config and messages out of JSON 2021-06-02 16:28:19 +02:00
9d5484966e fix: fix thanos' mp handling 2021-06-01 19:45:18 +02:00
71fc0893a8 refactor: utilize NPCType 2021-06-01 19:33:48 +02:00
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
842db2439a breaking: remove observable pattern, make methods return events directly 2021-06-01 15:43:04 +02:00
6c06beb366 fix: that's not supposed to be in there 2021-06-01 00:52:24 +02:00
787ba7d38e fix: naming and field occupation during game initialization 2021-06-01 00:48:49 +02:00
bccffad8f0 fix: more code is apparently better 2021-06-01 00:32:07 +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
213955bc37 fix: reset turnCount at the beginning of a new round 2021-05-31 17:37:37 +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
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
9fa5c554ef feat: expose methods for game state event handling 2021-05-18 14:14:23 +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
6e9efa1a59 refactor: changed GameStateEvent to GamestateEvent 2021-05-11 05:06:00 +02:00
1a98f25139 feat: add handling and checking for UseInfinityStoneRequest, fix: use proper distance calculations for some checks 2021-05-11 03:50:24 +02:00
c2d1c2cc98 feat: handle Req request and remove handling of lobby events 2021-05-05 18:59:07 +02:00
9405b89fb3 fix: resolve event emitter not emitting because of missing call to setChanged 2021-05-03 20:19:17 +02:00
a5ccba0326 refactor: switch to EventBuilder 2021-05-03 19:36:30 +02:00
d36466a5a0 refactor: make GameLogic.checkRequest use error pattern and simple check methods 2021-05-02 15:34:42 +02:00
05f4751a2c feat: properly handle movement requests 2021-05-02 14:38:03 +02:00
b5a66dcdc6 wip: start implementing GameLogic.checkRequest 2021-05-02 00:03:03 +02:00
9220b6cc1b fix: add todo comment 2021-05-01 23:51:16 +02:00
bebe721788 feat: implement GameLogic.executeRequest 2021-05-01 23:06:22 +02:00
3f7d393d5d refactor: unify comment styles
feat: add entity list class
2021-04-30 20:54:34 +02:00
Yannik Bretschneider
67b9d25eb8 fix: Refactored to Gradle-based project, and added dependencies 2021-04-29 20:57:08 +02:00