Dave Burke
cdf194f770
Remove redundant Card record code
...
Java Records automatically acquire an implementation of equals and
hashCode that accounts for their components. They also have read
accessors for their components (card.suit() to get the suit).
2022-03-18 17:01:06 -05:00
Mitch Peck
0b1f809707
Clean up comments and convert Card to a record
2022-03-18 12:52:14 -05:00
Dave Burke
ca0906cbfc
Handle 'an' vs 'a' grammar
2022-03-05 09:53:41 -06:00
Dave Burke
193edaa428
Fix toString for Ace
2022-03-03 21:43:29 -06:00
Dave Burke
ccbed873e5
Add TODO to make Card a Record
2022-03-02 22:14:56 -06:00
Dave Burke
914f123bfc
Implement unit tests for Blackjack Java
2022-02-02 21:36:16 -06:00
Dave Burke
080d6ccee4
Implement shuffled deck
2022-01-23 21:36:57 -06:00
Dave Burke
51f173c9da
Make Card immutable
2022-01-23 21:36:42 -06:00
Dave Burke
83c1e65278
Make Suit an enum in Card
2022-01-23 21:17:10 -06:00
Mitch Peck
3411d33f18
Add Player and Card objects
2022-01-22 20:15:09 -06:00