+ to draw

This commit is contained in:
2022-09-23 08:58:32 +02:00
parent b3c2735415
commit def46c0e12

View File

@@ -24,7 +24,7 @@ public class Human extends Player {
System.out.println("You quit the game!");
System.exit(69);
}
if (input.equals("draw") || input.equals("d")) {
if (input.equals("draw") || input.equals("d") || input.equals("+")) {
Card card = drawCard();
System.out.println("You drew a " + card);
hand.add(card);