Commit Graph

13 Commits

Author SHA1 Message Date
Mitch Peck
6107eed714 Handle dealer's total in evaluateRound 2022-03-09 20:43:56 -06:00
Mitch Peck
ff6302bf6a Implement evaluateRound with tests 2022-03-09 20:25:10 -06:00
Dave Burke
9dd1c465b6 Test insurance collection 2022-03-05 09:28:27 -06:00
Dave Burke
6f409e0865 Print total after STAY 2022-03-03 22:10:54 -06:00
Dave Burke
d1bdd7889d Refactor scoreHand and compareHands into ScoringUtils 2022-03-03 21:55:30 -06:00
Dave Burke
387f4e3634 Make play() tests more readable 2022-03-03 21:49:47 -06:00
Dave Burke
4e83ea6664 Add a couple TODOs 2022-03-02 22:20:41 -06:00
Dave Burke
c2d52438c5 Refactor Game.play() to handle split hands more elegantly 2022-03-02 22:15:44 -06:00
Dave Burke
61568f1369 Initial playSplitHand implementation 2022-02-22 13:03:35 -06:00
Mitch Peck
d2e61454db Update player with split fields, stub out playSplit, and playSplit tests 2022-02-19 18:06:20 -06:00
Mitch Peck
40e22aa880 Implement compareHands method, add compareHands tests and fix UserIO Test 2022-02-18 19:35:54 -06:00
Dave Burke
b9ba37c8f2 Implement play() and scoreHand() 2022-02-09 21:19:04 -06:00
Dave Burke
670a2b02be Add example i/o test 2022-02-07 21:59:02 -06:00