Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bj(6) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought




bj(6) bj(6)
NAME bj - plays the game of black jack SYNOPSIS bj DESCRIPTION bj is a serious attempt at simulating the dealer in the game of black jack (or twenty-one) as might be found in Reno. The following rules apply: The bet is $2 every hand. You natural (black jack) pays $3; a dealer natural loses $2. Both dealer and player naturals is a push (no money exchange). If the dealer has an ace up, you are allowed to make an insurance bet against the chance of a dealer natural. If this bet is not taken, play resumes as normal. If the bet is taken, it is a side bet where you win $2 if the dealer has a natural, and you lose $1 if the dealer does not. If you are dealt two cards of the same value, you are allowed to double. You are allowed to play two hands, each with one of these cards. (The bet is doubled also; $2 on each hand.) If a dealt hand has a total of ten or eleven, you may double down. You may double the bet ($2 to $4) and receive exactly one more card on that hand. Under normal play, you may hit (draw a card) as long as your total is not over twenty-one. If you bust (go over twenty-one), the dealer wins the bet. When you stand (decide not to hit), the dealer hits until a total of seventeen or more has been attained. If the dealer busts, you win the bet. If both you and the dealer stand, the one with the largest total wins. A tie is a push. The machine deals and keeps score. The following questions will be asked at appropriate times. Each question is answered by y followed by a newline for yes, or just newline for no. ? (means, do you want a hit?) Insurance? Double down? January 1992 1



bj(6) bj(6)
Every time the deck is shuffled, the dealer so states and the action (total bet) and standing (total won or lost) is printed. To exit, hit the interrupt key and the action and standing will be printed. FILES /usr/games/bj Executable file 2 January 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026