mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-06-27 17:02:53 -07:00
Initial playSplitHand implementation
This commit is contained in:
@@ -89,6 +89,7 @@ public class Player {
|
||||
* Removes first card from hand to adds it to split hand
|
||||
*/
|
||||
public void split() {
|
||||
this.splitBet = this.currentBet;
|
||||
splitHand.add(hand.pop());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user