Max Gerbeth
6d837c934c
adding Colors to prints on the console
2 years ago
Max Gerbeth
99fd247d40
using JsonPaser for writing in the file
2 years ago
Max Gerbeth
4690348bd7
Merge branch 'develop' into shop
# Conflicts:
# src/main/java/org/bitbiome/commands/CommandListener.java
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
Max Gerbeth
6cb6e42462
add README.md
2 years ago
Max Gerbeth
8a7eb010ab
typo in ShopCommand.java
2 years ago
Max Gerbeth
b99ac6da82
indend code in Shop.java
2 years ago
Max Gerbeth
ec8fd8524b
remove unused import in Shop.java
2 years ago
Max Gerbeth
cdb9e0d1d9
add Comments in ShopCommand.java
2 years ago
Max Gerbeth
4a75478c4d
unittest: testSubtractGold5()
2 years ago
Max Gerbeth
421a9c8314
unittest: testSubtractGold4()
2 years ago
Max Gerbeth
0ecbfdc69d
unittest: testSubtractGold3()
2 years ago
Max Gerbeth
8c94c1b739
unittest: testSubtractGold2()
2 years ago
Max Gerbeth
72aa9c05f7
unittest: testSubtractGold1()
2 years ago
Max Gerbeth
e323599a74
unittest: testSubtractGold()
2 years ago
Max Gerbeth
172c8e6997
Shop.java add subtractGold()
2 years ago
Max Gerbeth
20ba24d5c9
refactoring: itemRotation()
2 years ago
Max Gerbeth
88496d7252
unittest: testValidInput4
2 years ago
Max Gerbeth
ba4278790b
unittest: testValidInput3
2 years ago
Max Gerbeth
ac443832b7
unittest: testValidInput2
2 years ago
Max Gerbeth
c9fad47496
bugfixes
2 years ago
Friederike von Gruben
6405c41b32
Added new questions
2 years ago
Friederike von Gruben
ad42f3ff85
Added writeObject method to the JSON Parser to write json objects
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
Max Gerbeth
ad1efd076f
refactoring: ShopCommand.java
2 years ago
Juliakn66
dc77373d07
refactoring: static to non-static method
2 years ago
Max Gerbeth
67ce5e7300
refactoring: items.json
2 years ago
Max Gerbeth
7680773885
implements: loadAllItems()
2 years ago
Max Gerbeth
5dadc57cdb
refactoring: items.json
2 years ago
Max Gerbeth
be84a78653
refactoring: add to item.json "amountShop" and "gold"
2 years ago
Max Gerbeth
5136f095bc
refactoring: loadItems() to loadCurrentShopItems()
2 years ago
Max Gerbeth
002854d8ba
Shop.java Give Player the Item
2 years ago
Max Gerbeth
f110417e51
Item do not exist in the playerinventory
2 years ago
Max Gerbeth
70ace999d0
Give Player the Item
2 years ago
Max Gerbeth
7f20018078
Test if the player has enough gold
2 years ago