|
|
1.1 root 1: .pa 1
2: .he 'BJ (VI)'3/15/72'BJ (VI)'
3: .ti 0
4: NAME bj -- the game of black jack
5: .sp
6: .ti 0
7: SYNOPSIS /usr/games/bj
8: .sp
9: .ti 0
10: DESCRIPTION
11: .br
12: .in 8
13: bj__
14: is a serious attempt at
15: simulating the dealer
16: in the game of black jack (or twenty-one)
17: as might be found in Reno.
18: The following rules apply:
19: .sp
20: .in +3
21: The bet is $2 every hand.
22: .sp
23: A player 'natural' (black jack) pays $3.
24: A dealer natural loses $2.
25: Both dealer and player naturals
26: is a 'push' (no money exchange).
27: .sp
28: If the dealer has an ace up,
29: the player is allowed to make an 'insurance'
30: bet against the chance of a dealer natural.
31: If this bet is not taken, play resumes as normal.
32: If the bet is taken, it is a side bet
33: where the player wins $2 if the dealer has
34: a natural and loses $1 if the dealer does not.
35: .sp
36: If the player is dealt two cards
37: of the same value, he is allowed to
38: 'double'.
39: He is allowed to play two
40: hands, each with one of these cards.
41: (The bet is doubled also; $2 on each hand.)
42: .sp
43: If a dealt hand
44: has a total of ten or eleven,
45: the player may 'double down'.
46: He may double the bet ($2 to $4)
47: and receive exactly one more card on that hand.
48: .sp
49: Under normal play,
50: the player may 'hit' (draw a card)
51: as long as his total is not over twenty-one.
52: If the player 'busts' (goes over twenty-one),
53: the dealer wins the bet.
54: .sp
55: When the player 'stands' (decides not to hit),
56: the dealer hits until he attains
57: a total of seventeen or more.
58: If the dealer busts, the player wins the bet.
59: .sp
60: If both player and dealer stand,
61: the one with the largest total wins.
62: A tie is a push.
63: .sp
64: .in -3
65: The machine deals and keeps score.
66: The following questions will be asked at
67: appropriate times.
68: Each question is
69: answered by y_ followed by a new line for 'yes',
70: or just new line for 'no'.
71: .sp
72: ? (means, "do you want a hit?")
73: .br
74: Insurance?
75: .br
76: Double down?
77: .sp
78: Every time the deck is shuffled,
79: the dealer so states and the 'action' (total bet)
80: and 'standing' (total won or loss)
81: is printed.
82: To exit, hit the interrupt key (DEL)
83: and the action and standing will be printed.
84: .in 16
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.