+ to draw
This commit is contained in:
@@ -24,7 +24,7 @@ public class Human extends Player {
|
|||||||
System.out.println("You quit the game!");
|
System.out.println("You quit the game!");
|
||||||
System.exit(69);
|
System.exit(69);
|
||||||
}
|
}
|
||||||
if (input.equals("draw") || input.equals("d")) {
|
if (input.equals("draw") || input.equals("d") || input.equals("+")) {
|
||||||
Card card = drawCard();
|
Card card = drawCard();
|
||||||
System.out.println("You drew a " + card);
|
System.out.println("You drew a " + card);
|
||||||
hand.add(card);
|
hand.add(card);
|
||||||
|
|||||||
Reference in New Issue
Block a user