The dealer "A.I."

For example, standOn17 behaves as follows.

Standing on a Hard 20
(input) start
John what is your bet? 7
John has 20$
5♥ 8♣
########################
K♦ J♣
(input) hitme
John has 20$
5♥ 8♣ 5♥
########################
K♦ J♣
(input) hitme
You are busted!
John has 20$
5♥ 8♣ 5♥ K♦

# Hitting on 11, standing on a hard 17
(input) start
John what is your bet? 5
John has 20$
9♥ 2♣
########################
J♥ 2♦
(input) hitme
John has 20$
9♥ 2♣ 5♦
########################
J♥ 2♦ 5♦
(input) hitme
You are busted!
John has 20$
9♥ 2♣ 5♦ K♣
########################
J♥ 2♦ 5♦