double down - player takes exactly one card
This commit is contained in:
parent
de22cb02f4
commit
498586344c
1 changed files with 2 additions and 0 deletions
|
|
@ -161,6 +161,8 @@ impl Game {
|
||||||
bet_amount *= 2;
|
bet_amount *= 2;
|
||||||
}
|
}
|
||||||
player_hand.push(self.deal());
|
player_hand.push(self.deal());
|
||||||
|
// Player can only take one additional card
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue