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 200 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 Hand 2 bankroll 190 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt King of Hearts Dealer: Joseph Joestar dealt Ace of Clubs Player: Suzumiya Haruhi dealt Seven of Hearts Player: Suzumiya Haruhi's total is 17 Dealer: Joseph Joestar's hole card is Three of Clubs Dealer: Joseph Joestar dealt Jack of Spades Dealer: Joseph Joestar dealt Eight of Diamonds Dealer: Joseph Joestar's total is 22 Dealer: Joseph Joestar busts Hand 3 bankroll 200 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt Eight of Clubs Dealer
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 200 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 Hand 2 bankroll 190 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt King of Hearts Dealer: Joseph Joestar dealt Ace of Clubs Player: Suzumiya Haruhi dealt Seven of Hearts Player: Suzumiya Haruhi's total is 17 Dealer: Joseph Joestar's hole card is Three of Clubs Dealer: Joseph Joestar dealt Jack of Spades Dealer: Joseph Joestar dealt Eight of Diamonds Dealer: Joseph Joestar's total is 22 Dealer: Joseph Joestar busts Hand 3 bankroll 200 Player: Suzumiya Haruhi bets 10 Player: Suzumiya Haruhi dealt Eight of Clubs Dealer