mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
Implement print initial deal
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user