David Hermann
76aeb8fc0f
unittest: Created test for blue color
2 years ago
David Hermann
23c162d524
unittest: Created test for important color codes
2 years ago
David Hermann
3e4259170c
refactoring: Added comments to QuitCommand
2 years ago
David Hermann
b26a43dfcb
refactoring: Added comments to CommandListener
2 years ago
David Hermann
ad5f87a4b0
refactoring: Added comments to CommandInterface
2 years ago
David Hermann
460fc71570
refactoring: Added comment to Color
2 years ago
David Hermann
9ebe7ea258
refactoring: Outsourced System.out.println
2 years ago
David Hermann
fda96a5acb
refactoring: Deleted CreateLocations
2 years ago
David Hermann
d6ece832e7
refactoring: Outsourced code
When the player is new a outsourced method is called
2 years ago
David Hermann
4e990e2d04
refactoring: Outsourced code in InteractionLoop
Whether the player is new or not will be checked in new outsourced function
2 years ago
David Hermann
1749b5f663
refactoring: Outsourced System.out.println
2 years ago
David Hermann
1ded07cd00
unittest: updated player test
This additionally tests if the player has a location by testing the name of the location related to the player
2 years ago
David Hermann
df4b960fa7
unittest: updated player test
This additionally tests how many lives the player has
2 years ago
David Hermann
9acf819d35
unittest: created test for player class
This tests the name of the player
2 years ago
David Hermann
8dda2401d1
unittest: created test for location class
This tests the name of the location
2 years ago
David Hermann
06c77bf837
unittest: updated mob test
This additionally tests how much life the mob has
2 years ago
David Hermann
21f5b7d44c
unittest: updated mob test
This additionally tests how much damage the mob does
2 years ago
David Hermann
562bd31373
unittest: created test for mob class
This tests whether the mob is friendly
2 years ago
David Hermann
432c37c278
unittest: updated item test
This additionally tests whether the item does any damage at all.
2 years ago
David Hermann
8a380d1ef3
unittest: updated item test
This additionally tests the damage of the items
2 years ago
David Hermann
56fb3c546c
unittest: created test for item class
This is testing the name of the item
2 years ago
David Hermann
62ddc0bd3c
Update Player.java
Added empty constructor for unit tests
2 years ago
David Hermann
7131083fd9
Update Mob.java
Added empty constructor for unit tests
2 years ago
David Hermann
5e723f41b3
Update Location.java
Added empty constructor for unit tests
Added setName() method for unit tests
2 years ago
David Hermann
ce6247312e
Update Item.java
Changed the privacy of the variables
Added empty constructor for unit tests
2 years ago
David Hermann
d09e3b1c2d
refactoring: Removed unused imports
2 years ago
David Hermann
c7b8855442
refactoring: Language change, added color
When a command is unkown, the language is now german and the message is red.
2 years ago
David Hermann
67822c0a8e
refactoring: Deleted unused imports
2 years ago
David Hermann
ec70ab4803
Summary Commit
Boot.java: Added getPlayerSave()
InteractionLoop: Asks for name if the player's name is null
JsonParser: New method writeObject
Travel Engine: getLocationByName() method
Edited Help Command
Added setter for Player's name
New Quiz questions
Edited Help unit test
Added unit test for Location Command
2 years ago
David Hermann
c18cb6190a
refactoring: outsourced current location message
2 years ago
David Hermann
48af98341b
Added Travel command, to travel to different places
2 years ago
David Hermann
06d01e97b4
Added location command to get the current location of the player
2 years ago
David Hermann
a9f0ec154b
Added createBeach method to createLocations class
2 years ago
David Hermann
456b7d8c59
Added beach to the gameconfig.json
2 years ago
David Hermann
157ceabc59
Edited TravelEngine, added getLocationList and locationExist method
2 years ago
David Hermann
201e2aa1fb
Created class with ansi color codes
2 years ago
David Hermann
3cedb71e90
Added the travel engine to the InteractionLoop
2 years ago
David Hermann
c8ea2a75fe
Added getPlayer method to the travel engine
2 years ago
David Hermann
a3722db633
refactoring: outsourced the entities in the entities package
2 years ago
David Hermann
20bc727d77
Created traveling engine
2 years ago
David Hermann
6e24f5651b
Created player class
2 years ago
David Hermann
20a4614128
Created class where locations can be created
2 years ago
David Hermann
f1e40de850
Created location class
2 years ago
David Hermann
9a6f804563
Created mob class
2 years ago
David Hermann
666fa70a52
Created item class
2 years ago
Juliakn66
dc77373d07
refactoring: static to non-static method
2 years ago
David Hermann
13f6640dc7
refactoring: Moved InteractionLoop and JsonParser to the new directory "classes".
Removed test code from JsonParser.
Removed comment in Main
2 years ago
David Hermann
ede261e59d
refactor: Deleted unused imports from Main class
2 years ago
David Hermann
59a36a66a6
unittest: Added unit test for the quit/exit command
2 years ago
David Hermann
b3dfbe3601
refactor: outsourced code in String function
2 years ago