Commit Graph

13 Commits

Author SHA1 Message Date
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 5bfb8a4088 Implement evaluateRound with tests 2022-03-09 20:25:10 -06:00
Dave Burke d6e0edb75f Fill out javadoc 2022-03-05 09:47:15 -06:00
Dave Burke 84a70ad1ff Handle insurance 2022-03-04 13:02:26 -06:00
Dave Burke a8d2e12597 Add a couple TODOs 2022-03-02 22:20:41 -06:00
Dave Burke 5e950275fa Refactor Game.play() to handle split hands more elegantly 2022-03-02 22:15:44 -06:00
Dave Burke 5aee1ecd09 Initial playSplitHand implementation 2022-02-22 13:03:35 -06:00
Mitch Peck 1592263258 Update player with split fields, stub out playSplit, and playSplit tests 2022-02-19 18:06:20 -06:00
Dave Burke db1e32a314 Use double to store bets
The original basic allowed fractional bets.
2022-02-11 13:02:22 -06:00
Mitch Peck 20c7869232 Update Player object and initialize Players 2022-02-01 20:21:30 -06:00
Dave Burke ff2859e0d0 Add Blackjack/java outline with TODO placeholders 2022-01-25 21:16:26 -06:00
Dave Burke 7bf2a0443b Fix imports in Player 2022-01-23 21:17:22 -06:00
Mitch Peck 3411d33f18 Add Player and Card objects 2022-01-22 20:15:09 -06:00