Commit Graph

36 Commits

Author SHA1 Message Date
Claudio Maggioni 75052a42c3 Added assginment 2022-12-21 10:19:56 +01:00
Claudio Maggioni 6c1b074846 Added report 2022-12-20 16:59:15 +01:00
Claudio Maggioni 6d1d80d022 Minor fixes 2022-11-22 18:46:05 +01:00
Claudio Maggioni e8a108d89f Minor fixes 2022-11-22 18:44:40 +01:00
Claudio Maggioni 6df81726d1 Minor cleanup 2022-11-22 18:36:17 +01:00
Claudio Maggioni 4c70ba2800 Removed ZorkMap 2022-11-22 18:32:53 +01:00
RaffaeleMorganti 5786e58842 output stream now in zorkgame 2022-11-22 18:03:09 +01:00
RaffaeleMorganti d2ce23fead actions print on stream 2022-11-22 17:25:40 +01:00
RaffaeleMorganti 6341503a70 actions print error once 2022-11-22 16:46:23 +01:00
Claudio Maggioni aafbf94434 Minor cleanup 2022-11-22 15:20:35 +01:00
Claudio Maggioni 69072097bb Trigger evaluation moved from Zork class 2022-11-22 15:12:55 +01:00
Claudio Maggioni d0d2db70a4 Parser refactor complete 2022-11-22 13:43:15 +01:00
Claudio Maggioni 9564a205dc Minor cleanups 2022-11-22 11:32:57 +01:00
Claudio Maggioni 718e736032 Encapsulation on zork types 2022-11-22 11:27:56 +01:00
Claudio Maggioni 37f6bc2ff9 Parser strategies for all entities 2022-11-22 10:16:26 +01:00
RaffaeleMorganti 214bed9a13 move userInput to method arguments and add some final 2022-11-22 09:55:26 +01:00
RaffaeleMorganti 42732e0fdd switch from harcoded string to enum and remove complexity in some actions 2022-11-22 00:46:20 +01:00
Claudio Maggioni 52d98a4ece parser partial refactor 2022-11-21 22:29:36 +01:00
Claudio Maggioni a782ec5ad7 Deduplicated print-action logic 2022-11-21 17:10:08 +01:00
Claudio Maggioni 40675f5a39 Command pattern over actions - tested, it works 2022-11-21 16:36:38 +01:00
RaffaeleMorganti 05a63e0399 some attribute visibility improvements, added sonar-scanner to maven, bug fix 2022-11-20 14:11:58 +01:00
RaffaeleMorganti e6b96d69d1 ZorkReader refactored 2022-11-19 10:46:28 +01:00
RaffaeleMorganti 4a7eca5302 changed types of some collections 2022-11-19 08:48:21 +01:00
RaffaeleMorganti 2e12ab7f1f remove duplicate operation on trigger 2022-11-18 21:00:28 +01:00
RaffaeleMorganti 5d098bf32d Zork class extract methods on actions and triggers 2022-11-18 16:56:32 +01:00
RaffaeleMorganti 0a5c67ea69 pom regression 2022-11-17 22:17:14 +01:00
RaffaeleMorganti f4dc0fac73 fixed test 2022-11-17 21:58:02 +01:00
RaffaeleMorganti 4b01c0a85c kind of test 2022-11-17 00:51:58 +01:00
Claudio Maggioni 6b3d2d142c removed duplication in ZorkReader with static methods 2022-11-16 17:56:58 +01:00
Claudio Maggioni 8e54d0684b ZorkConditions are immutable objects 2022-11-16 17:42:56 +01:00
RaffaeleMorganti 7cc2352b90 command 2022-11-16 17:35:32 +01:00
RaffaeleMorganti 008818c357 parser moved outside 2022-11-16 17:18:19 +01:00
Claudio Maggioni 6e374918b5 refactor: initial IDEA-aided refactors on syntax 2022-11-16 16:36:08 +01:00
Claudio Maggioni 2406dac418 chore: migrate to Maven project, update README 2022-11-16 16:18:00 +01:00
Claudio Maggioni 1ba801d9e3 Added sources from https://github.com/dtschust/Zork 2022-11-16 15:43:32 +01:00
Marco Paganoni d95b82d4fb Initial commit 2022-11-11 22:12:53 +00:00