./black_jack %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % % % B L A C K J A C K % % % % % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Welcome to the Black Jack world!!!!!!!!!!!!!!!!!!!!!!!!!! Number of AI (0 ~ 3) : 3 -------------------------- Level of AI Dummy : 1 Low : 2 Mid : 3 High : 4 Master : 5 -------------------------- Choose AI level Level of AI1 : 2 Level of AI2 : 3 Level of AI3 : 5 --------------------------- Bats: 500 House : 3h, X ( > 3 ) Player (500) : 5s, 10h (15) AI1 (500) : 10d, 8c (18) AI2 (500) : 2s, 2d (4) AI3 (500) : 1d, 4c (5 or 15) Turn of Player --- Choose your action: Hit(H), Stand(S), Split(P) Action : H Player : 5s, 10h, 3h (18) Action : S Turn of AI1 AI1 (500) : 10d, 8c (18) Action : H AI1 (500) : 10d, 8c, 1c (19) Action : S Turn of AI2 AI2 (500) : 2s, 2d (4) Action : Split Bets one more time : 500 AI2 (500)(500) : [2s (2) ] [2d (2)] AI2 (500)(500) : [2s, 2h (4) ] [2d, 3d (5)] Action-0 : Split Bets one more time : 500 AI2 (500)(500)(500) : [2s (2) ] [2h (2) ] [2d, 3d (5)] AI2 (500)(500)(500) : [2s, ks (12)] [2h, 5d (7) ] [2d, 3d (5)] Action-0 : H Bets one more time : 500 AI2 (1000)(500)(500): [2s, ks, jd (22)] [2h, 5d (7) ] [2d, 3d (5)] AI2-0 Bust!!!!!!!!!!! Action-1 : H Bets one more time : 500 AI2 (1000)(1000)(500): [2s, ks, jd (22)] [2h, 5d, 9d (16) ] [2d, 3d (5)] Action-1 : H Bets one more time : 500 AI2 (1000)(1500)(500): [2s, ks, jd (22)] [2h, 5d, 9d, 4s (20) ] [2d, 3d (5)] Action-1 : S Action-2 : H Bets one more time : 500 AI2 (1000)(1500)(1000): [2s, ks, jd (22)] [2h, 5d, 9d, 4s (20) ] [2d, 3d, 10d (15)] Action-2 : S Turn of AI3 ... -------------------------------------- Open the house card House : 3h, 8d ( 11 ) Action : H House : 3h, 8d, 8c ( 19 ) Action : S Result Player (500) : 5s, 10h, 3h (18) AI1 (500) : 10d, 8c, 1c (19) AI2 (1000)(1500)(1000): [2s, ks, jd (22)] [2h, 5d, 9d, 4s (20) ] [2d, 3d, 10d (15)] AI3 ... AI2-1 Win!!!!!