COMP 220 DEVRY DEVRY COMP 220 iLab 1 | 页面 3

Player 1 : A♣ 2♠ Player 2 : J♣ Q♥ Player 3 : 3♦ 8♣ At the end of a game , the display should be repeated , with the addition of win or lose and an updated balance . Example Card 1 Card 2 Card 3 Card 4 Card 5 Total Stats Dealer : J♦ 10♦ 20 Lose Player 1 : K♣ 2♠ 5♥ 1♦ 5♦ 23 Lose Player 2 : J♣ Q♥ 20 Lose Player 3 : 3♦ 8♣ K♦ 21 Win ! The program should then ask each player if he or she wants to play again or leave the game . The game continues with a new round , as long as there is one player remaining . If there are no remaining players , the program should exit .