Tanja Herche
|
c4ac756c1e
|
refactoring: Re-added gold command
|
2 years ago |
Max Gerbeth
|
b012bc345c
|
unittest: testSubtractGold10()
|
2 years ago |
Max Gerbeth
|
1bac23ab98
|
reset playername to "null"
|
2 years ago |
Tanja Herche
|
7dc1ba1b76
|
refactoring: changed float to int
|
2 years ago |
Max Gerbeth
|
d190f35135
|
unittest: testSubtractGold9()
|
2 years ago |
Max Gerbeth
|
a128c15f5b
|
unittest: testSubtractGold8()
|
2 years ago |
Tanja Herche
|
b6e5c6b112
|
added 'isFriendly', changed damage number ranges to static numbers
|
2 years ago |
Max Gerbeth
|
091c1b5512
|
added logo
|
2 years ago |
Tanja Herche
|
b73ea098b6
|
added 'doesDamage', changed damage number ranges to static numbers
|
2 years ago |
Max Gerbeth
|
d9256f6154
|
added logo to README.md
|
2 years ago |
Max Gerbeth
|
87803bc281
|
refactoring: Shop.java
|
2 years ago |
Tanja Herche
|
4abf14bb4d
|
refactoring: used append instead of '+'
|
2 years ago |
Tanja Herche
|
1372639a5f
|
refactoring: created string for mapsign
|
2 years ago |
Tanja Herche
|
32b3a5ecfb
|
Unittest: added Goldcommand
|
2 years ago |
Tanja Herche
|
923db63efc
|
refactoring: created Strings for colored Maptext
|
2 years ago |
Tanja Herche
|
ca19d64103
|
created GoldCommand
|
2 years ago |
David Hermann
|
9ba0935868
|
unittest: Added test to ItemTest
This tests the price of the item
|
2 years ago |
David Hermann
|
c83a4ae338
|
unittest: Added test to ItemTest
This tests the amount of one item
|
2 years ago |
David Hermann
|
00ed13acf0
|
refactoring: Deleted unused imports
From QuitCommandTest
|
2 years ago |
David Hermann
|
d0513fa2d3
|
Edited output for quitCommand
<You quitted!> -> <Du hast das Spiel beendet! Bis bald.>
|
2 years ago |
David Hermann
|
4eedb57f98
|
Added color to outputs
Added color and changed the format of:
- QuizCommand
- ShopCommand
|
2 years ago |
David Hermann
|
47cbcc474e
|
unittest: Edited the test method of QuizCmd
AssertEquals is now AssertTrue
It's testing whether the text contains something now
|
2 years ago |
David Hermann
|
4d9ec59d3f
|
refactoring: code revision of shop
Fixed all warnings
Outsourced methods due to code duplication
Moving classes to new folders
Merging of item class
|
2 years ago |
David Hermann
|
21c3acc260
|
refactoring: Deleted unused imports
|
2 years ago |
David Hermann
|
98e47536db
|
refactoring: Edited unit test in non-act part
Instance now static
|
2 years ago |
Max Gerbeth
|
3fe4b03d9e
|
integrate quiz and blackjack into shop
|
2 years ago |
David Hermann
|
e84c2f9b75
|
Edited helpcommand
Added quiz and blackjack
|
2 years ago |
David Hermann
|
ac7332a845
|
Resource Leak fixed
|
2 years ago |
David Hermann
|
d9d97cd7c2
|
Hotfix for merge
|
2 years ago |
Friederike von Gruben
|
c08df3bc8f
|
unittest: Added test to BlackJackTest
This tests whether the bot is in the game or not
|
2 years ago |
Friederike von Gruben
|
bfe11ff7d9
|
unittest: Added test to BlackJackTest
This tests whether the player is in the game or not
|
2 years ago |
Friederike von Gruben
|
44b4ac4d9b
|
unittest: Added test to BlackJackTest
This tests the bot name of BlackJack
|
2 years ago |
Friederike von Gruben
|
c6d9d282a1
|
unittest: Added test to BlackJackTest
This tests the playername
|
2 years ago |
Friederike von Gruben
|
9edfb370d3
|
unittest: Added test to BlackJackTest
This test tests the entity ID of the bot
|
2 years ago |
Friederike von Gruben
|
c558b1287c
|
unittest: Created BlackJackTest
This test tests the Entity ID from the Player
|
2 years ago |
Friederike von Gruben
|
b1c0059a74
|
Added methods and stuff to BlackJackCommand
The blackjack game works now
|
2 years ago |
Friederike von Gruben
|
4897a2321c
|
Added playerOut() to BlackJack
This method sets the current playerIn state to false
|
2 years ago |
Friederike von Gruben
|
0b3ef70def
|
Added botWantsToPlay() to BlackJack
This method returns a boolean whether the bot wants to play or not specified by the points he has currently
|
2 years ago |
Friederike von Gruben
|
5239962efe
|
Added addPoints() to BlackJack
This method adds points to the player or the bot
|
2 years ago |
Friederike von Gruben
|
0792129990
|
Added getEntity() to BlackJack
This method returns the Entity by the enum
|
2 years ago |
Friederike von Gruben
|
09e3cdce30
|
Added isIn() to BlackJack
This method returns whether the bot or the player is in the game
|
2 years ago |
Friederike von Gruben
|
905e5975ab
|
Added getPoints() to BlackJack
This method returns the points from the bot or the player
|
2 years ago |
Friederike von Gruben
|
b16aab62c5
|
Added getPlayerName() to BlackJack
|
2 years ago |
Friederike von Gruben
|
04d9439db6
|
Edited BlackJack constructor
Set botIn = true
|
2 years ago |
Friederike von Gruben
|
673372adca
|
Edited BlackJack constructor
Set playerIn = true
|
2 years ago |
Friederike von Gruben
|
b17b3bc18a
|
Edited BlackJack constructor
Set botPoints
|
2 years ago |
Friederike von Gruben
|
f5aa351958
|
Edited BlackJack constructor
Set playerPoints
|
2 years ago |
Friederike von Gruben
|
1e8a16c14d
|
Created BlackJack constructor
Set playername
|
2 years ago |
Friederike von Gruben
|
37570a200c
|
Created enum in BlackJack
This is for the PLAYER and BOT
|
2 years ago |
Friederike von Gruben
|
eab3f7bda1
|
Created BlackJack class
|
2 years ago |