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