Commit Graph

82 Commits

Author SHA1 Message Date
7b1ce8af8f fix: make thanos also knock out characters he walks over, adapt for new UseInfinityStoneRequest 2021-06-24 20:41:37 +02:00
b8402f636f fix: turns out turn count means something totally different 2021-06-07 15:16:37 +02:00
81cbec5348 fix: mind stone creates an infinite ray 2021-06-07 00:27:58 +02:00
2b11633ced fix: make character selection use characterIDs and not indices 2021-06-06 23:00:03 +02:00
98b47ea688 fix: fixed ArrayIndexOOB in getting characters 2021-06-06 21:36:29 +02:00
5202b63c2e refactor: changed some ArrayList types to Lists for compatibility 2021-06-06 17:56:04 +02:00
2cbd86b725 feat: trace win reason for logging 2021-06-05 04:19:37 +02:00
f2a961d159 fix: resolve various issues with ai, cloning and turn order handling 2021-06-05 04:00:25 +02:00
0eaa0c5ea1 fix: improve turn handling and fix typing issues 2021-06-04 07:47:20 +02:00
b20b428705 fix: remove major flaw in state manipulation 2021-06-04 06:41:59 +02:00
4eb71fa972 feat: add description to request denial error 2021-06-04 05:47:32 +02:00
e90b8f4562 fix: resolve various casting and equality check mistakes 2021-06-04 05:14:00 +02:00
f53a6502f4 cleanup: optimize imports 2021-06-03 04:19:10 +02:00
d4a929878d refactor: reduce the type casting hell 2021-06-03 04:18:16 +02:00
5a90056cd8 fix: remove ConsumedMP- and ConsumedAPEvents before TurnEvent for standard compatibility 2021-06-03 04:14:33 +02:00
bc6846b5b1 refactor: move GameInstance.toString implementation to GameState 2021-06-03 04:06:20 +02:00
2fb5a29633 cleanup: optimize imports 2021-06-03 03:57:20 +02:00
f9837b4c28 cleanup: improve javadoc comments 2021-06-03 03:54:18 +02:00
09d798f37f refactor: introduce utils method for converting arrays into arraylists and make methods accessible with either 2021-06-03 03:33:20 +02:00
614b33adff refactor: use isAlive instead of hp.getValue 2021-06-03 03:15:05 +02:00
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
dd3201dfd2 feat: add method to end the current turn 2021-06-03 02:21:12 +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
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
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
7c36ea5c5c fix: add configs to GameInstance and fix GameState snapshots 2021-05-31 18:07:53 +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