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 -6, 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 15 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt King of Spades Dealer: Joseph Joestar dealt Three of Diamonds Player: Suzumiya Haruhi dealt Six of Diamonds Player: Suzumiya Haruhi's total is 16 Dealer: Joseph Joestar's hole card is Four of Spades Dealer: Joseph Joestar dealt Ten of Hearts Dealer: Joseph Joestar's total is 17 Dealer: Joseph Joestar wins this hand Player: Suzumiya Haruhi has 5 after 1 hands Dealer: Joseph Joestar has been kicked out. The winner of this round is Suzumiya Haruhi. Shuffling the deck cut at 23 cut at 23 cut at 22 cut at 39 cut at 33 cut at 19 cut at 25 Hand 1 bankroll 5 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt Three of Clubs Dealer: Kujo Jotaro dealt Ace of Spades Player: Suzumiya Haruhi dealt Ace of Hearts Player: Suzumiya Haruhi dealt Eight of Diamonds Player: Suzumiya Haruhi dealt Two of Hearts Player: Suzumiya Haruhi dealt Queen of Clubs
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 15 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt King of Spades Dealer: Joseph Joestar dealt Three of Diamonds Player: Suzumiya Haruhi dealt Six of Diamonds Player: Suzumiya Haruhi's total is 16 Dealer: Joseph Joestar's hole card is Four of Spades Dealer: Joseph Joestar dealt Ten of Hearts Dealer: Joseph Joestar's total is 17 Dealer: Joseph Joestar wins this hand Player: Suzumiya Haruhi has 5 after 1 hands Dealer: Joseph Joestar has been kicked out. The winner of this round is Suzumiya Haruhi. Shuffling the deck cut at 23 cut at 23 cut at 22 cut at 39 cut at 33 cut at 19 cut at 25 Hand 1 bankroll 5 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt Three of Clubs Dealer: Kujo Jotaro dealt Ace of Spades Player: Suzumiya Haruhi dealt Ace of Hearts Player: Suzumiya Haruhi dealt Eight of Diamonds Player: Suzumiya Haruhi dealt Two of Hearts Player: Suzumiya Haruhi dealt Queen of Clubs