Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is -11, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Shuffling the deck cut at 39 cut at 22 cut at 33 cut at 37 cut at 38 cut at 37 cut at 38 Hand 1 bankroll 7216 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt King of Spades Dealer: Suzumiya Haruhi dealt Three of Diamonds Player: Joseph Joestar dealt Six of Diamonds Player: Joseph Joestar's total is 16 Dealer: Suzumiya Haruhi's hole card is Four of Spades Dealer: Suzumiya Haruhi dealt Ten of Hearts Dealer: Suzumiya Haruhi's total is 17 Dealer: Suzumiya Haruhi wins this hand Player: Joseph Joestar has 7211 after 1 hands Player: Joseph Joestar has been kicked out. The winner of this round is Suzumiya Haruhi. Hand 2 bankroll 7216 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt King of Hearts Dealer: Suzumiya Haruhi dealt Ace of Clubs Player: Joseph Joestar dealt Seven of Hearts Player: Joseph Joestar's total is 33 Player: Joseph Joestar bust Dealer: Suzumiya Haruhi's total is 21 Dealer: Suzumiya Haruhi wins this hand Hand 3 bankroll 7216 Player: Joseph Joestar bets 5 Player: Joseph Joestar
JOJ Answer
Shuffling the deck cut at 39 cut at 22 cut at 33 cut at 37 cut at 38 cut at 37 cut at 38 Hand 1 bankroll 7216 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt King of Spades Dealer: Suzumiya Haruhi dealt Three of Diamonds Player: Joseph Joestar dealt Six of Diamonds Player: Joseph Joestar's total is 16 Dealer: Suzumiya Haruhi's hole card is Four of Spades Dealer: Suzumiya Haruhi dealt Ten of Hearts Dealer: Suzumiya Haruhi's total is 17 Dealer: Suzumiya Haruhi wins this hand Hand 2 bankroll 7211 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt King of Hearts Dealer: Suzumiya Haruhi dealt Ace of Clubs Player: Joseph Joestar dealt Seven of Hearts Player: Joseph Joestar's total is 17 Dealer: Suzumiya Haruhi's hole card is Three of Clubs Dealer: Suzumiya Haruhi dealt Jack of Spades Dealer: Suzumiya Haruhi dealt Eight of Diamonds Dealer: Suzumiya Haruhi's total is 22 Dealer: Suzumiya Haruhi busts Hand 3 bankroll 7216 Player: Joseph Joestar bets 5 Player: Joseph Joestar dealt Eight of Clubs Deale