Add notes about insurance

This commit is contained in:
Dave Burke
2022-02-09 21:51:31 -06:00
parent f65c2de058
commit a6cf574479

View File

@@ -75,11 +75,15 @@ public class Game {
printInitialDeal(players, dealer); printInitialDeal(players, dealer);
// TODO if dealer has an ACE, prompt "ANY INSURANCE"
// if yes, print "INSURANCE BETS" and prompt each player with "# [x] ? " where X is player number
// insurance bets must be equal or less than half the player's regular bet
// TODO check for dealer blackjack // TODO check for dealer blackjack
// if blackjack, print "DEALER HAS A [x] IN THE HOLE\nFOR BLACKJACK" and skip to evaluateRound // if blackjack, print "DEALER HAS A [x] IN THE HOLE\nFOR BLACKJACK" and skip to evaluateRound
// pay 2x insurance bets (insurance bet of 5 pays 10) if applicable
// if not, print "NO DEALER BLACKJACK" // if not, print "NO DEALER BLACKJACK"
// collect insurance bets if applicable
// TODO if dealer has an ACE, prompt "ANY INSURANCE" and deal with insurance
for(Player player : players){ for(Player player : players){
play(player); play(player);