Second sample run (random seed = 110, user inputs are in red)
> java Blackjack 110
Welcome to the game of Blackjack!
What's your first name? Olivia
---------------------------------
dealer: XX AH
Olivia: 4H 7C (value = 11)
Want another hit, Olivia (y/n)? y
dealer: XX AH
Olivia: 4H 7C QD (value = 21)
revealing the dealer's first card:
dealer: JC AH (value = 21)
Olivia: 4H 7C QD (value = 21)
Push!
Play another round (y/n)? y
---------------------------------
dealer: XX 3H
Olivia: 8H 7D (value = 15)
Want another hit, Olivia (y/n)? n
revealing the dealer's first card:
dealer: 6H 3H (value = 9)
Olivia: 8H 7D (value = 15)
dealer takes a hit:
dealer: 6H 3H KH (value = 19)
Olivia: 8H 7D (value = 15)
You lose, Olivia.
Play another round (y/n)? y
---------------------------------
dealer: XX 2H
Olivia: 8D JS (value = 18)
Want another hit, Olivia (y/n)? n
revealing the dealer's first card:
dealer: AD 2H (value = 13)
Olivia: 8D JS (value = 18)
dealer takes a hit:
dealer: AD 2H QC (value = 13)
Olivia: 8D JS (value = 18)
dealer takes a hit:
dealer: AD 2H QC AC (value = 14)
Olivia: 8D JS (value = 18)
dealer takes a hit:
dealer: AD 2H QC AC JH (value = 24)
Olivia: 8D JS (value = 18)
You win, Olivia!
Play another round (y/n)? y
---------------------------------
dealer: XX JD
Olivia: 5H 2C (value = 7)
Want another hit, Olivia (y/n)? y
dealer: XX JD
Olivia: 5H 2C AS (value = 18)
Want another hit, Olivia (y/n)? n
revealing the dealer's first card:
dealer: 8C JD (value = 18)
Olivia: 5H 2C AS (value = 18)
Push!
Play another round (y/n)? y
---------------------------------
dealer: XX 4S
Olivia: 5S 10C (value = 15)
Want another hit, Olivia (y/n)? y
dealer: XX 4S
Olivia: 5S 10C 3S (value = 18)
Want another hit, Olivia (y/n)? n
revealing the dealer's first card:
dealer: 7H 4S (value = 11)
Olivia: 5S 10C 3S (value = 18)
dealer takes a hit:
dealer: 7H 4S 5D (value = 16)
Olivia: 5S 10C 3S (value = 18)
dealer takes a hit:
dealer: 7H 4S 5D 9D (value = 25)
Olivia: 5S 10C 3S (value = 18)
You win, Olivia!
Play another round (y/n)? n