Implement print initial deal

This commit is contained in:
Mitch Peck
2022-02-02 19:15:37 -06:00
parent 20c7869232
commit 1b06396308
2 changed files with 29 additions and 7 deletions

View File

@@ -25,8 +25,8 @@ public class Deck {
* @return The card that was dealt.
*/
public Card deal() {
// TODO implement Deck.deal()
return null;
// TODO implement Deck.deal() - new Card(10, Card.Suit.CLUBS) added temporarily
return new Card(10, Card.Suit.CLUBS);
}
/**
@@ -37,4 +37,5 @@ public class Deck {
// Probably just call Collections.shuffle(cards);
}
}