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 |
Friederike von Gruben
|
d0142a9c26
|
refactoring: Deleted unused method returnCommands()
|
2 years ago |
Friederike von Gruben
|
66d9d812c7
|
refactoring: The HashMap commands is final now
|
2 years ago |
Friederike von Gruben
|
bf45a59405
|
Created BlackJackCommand and added to the CommandListener
|
2 years ago |
Friederike von Gruben
|
46422e4d5c
|
unittest: Edited test for QuizCommand
This test tests the print function
|
2 years ago |
Friederike von Gruben
|
3641292f5e
|
refactoring: Deleted unused imports
|
2 years ago |
Friederike von Gruben
|
56794efd3b
|
unittest: Edited test for QuizCommand
This test tests the random function which gives a random number between 0 and a length back
|
2 years ago |
Friederike von Gruben
|
e6b712ca09
|
unittest: Edited test for QuizCommand
This test tests whether the canPlayAgain function works or not
|
2 years ago |
Friederike von Gruben
|
c8c68946b0
|
unittest: Edited test for QuizCommand
This test tests the ending message for the quiz
|
2 years ago |
Friederike von Gruben
|
ada95c7e03
|
unittest: Created test for QuizCommand
This test tests the start/welcome message to the quiz
|
2 years ago |
Friederike von Gruben
|
915d3829dc
|
refactoring: Edited method name in QuizCommand
endmessage -> endMessage
*Camel Case Convention
|
2 years ago |
Friederike von Gruben
|
05693206bd
|
refactoring: Edited method name in QuizCommand
anfangsnachricht -> starterMessage
|
2 years ago |
Friederike von Gruben
|
f92d8f5847
|
Updated quiz message
How long user has to wait to play toward
|
2 years ago |
Friederike von Gruben
|
7ccb7ee304
|
refactoring: Outsourced code
Outsourced ending quiz message
|
2 years ago |
Friederike von Gruben
|
b4ff7a5d2a
|
refactoring: Outsourced code
Outsourced starter quiz message
|
2 years ago |
David Hermann
|
7ec0382539
|
unittest: Created test for cyan code
|
2 years ago |
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 |
Tanja Herche
|
3afddf67d7
|
refactoring: Removed unused imports
|
2 years ago |
Tanja Herche
|
bb8a153920
|
refactoring: Removed unused Code
|
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 |
Tanja Herche
|
2fe8517a78
|
refactoring: outsourced if-code
|
2 years ago |
Tanja Herche
|
63193fde19
|
refactoring: common String locationName
|
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 |
Juliakn66
|
58412a04d6
|
refactoring: added colors
|
2 years ago |
David Hermann
|
1749b5f663
|
refactoring: Outsourced System.out.println
|
2 years ago |
Juliakn66
|
e05936efce
|
unittest: testUnknownLocationDescription()
|
2 years ago |
Juliakn66
|
ac71a968c3
|
unittest: testStrandDescription
|
2 years ago |
Juliakn66
|
b2145ad89a
|
unittest: added testWaldDescription()
|
2 years ago |
Juliakn66
|
d61a00001d
|
refactoring: add method getLocationDescription
|
2 years ago |