man61 - 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO DIAGNOSTICS BUGS OWNER BASIC (VI) basic -— DEC supplied BASIC basic [file] Basic is the standard BASIC V000 distributed as a stand alone program. The optional file argument is read before the console. See DEC-11-AJPB—D manual. Since has is Smaller and faster, basic is not maintained on line. has See manual GOK dmr 11/3/71 NAME SYNOPSIS DESCRIPTION BJ (VI) bj -- the game of black jack /usr/games/bj Black jack 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. A player ’natural' (black jack) pays $3. A dealer natural loses $2. Both dealer and player naturals is a 'push' (no money ex- change). If the dealer has an ace up, the player is 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 the player wins $2 if the dealer has a natural and loses $1 if the dealer does not. If the player is dealt two cards of the same value, he is allowed to 'double'. He is al— lowed 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, the player may 'double down'. He may double the bet ($2 to $4) and receive exactly one more card on that hand. Under normal play, the player may 'hit' (draw a card) as long as his total is not over twenty—one. If the player 'busts’ (goes over twenty—one), the dealer wins the bet. When the player 'stands' (decides not to hit), the dealer hits until he attains a total of seventeen or more. If the dealer busts, the player wins the bet. If both player and 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 1 followed by a new line for 'yes', or just new line for 'no’. means ‘do you want a hit?’ Insureance? 11/3/71 FILES SEE ALSO DIAGNOSTICS BUGS OWNER BJ (VI) Doubl e down? Every time the deck is shuffled, the dealer so states and the ’action' (total bet) and 'stand— 1119' (total won or loss) is printed. To exit, hit the interrupt key (DEL) and the action and standing will be printed. 1i/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO DIAGNOSTICS BUGS OWNER CAL (VI) cal -— print calendar /usr/ken/cal year Cal will print a calendar for the given year. The year can be between 0 (really 1 BC) and 9999. For years when several calendars were in vogue in different countries, the calendar of England (and therefore her colonies) is printed. P.S. try cal of 1752. 11/3/71 NAME SYNOPSIS DESCRIPTION CHESS (VI) chess —— the game of chess /usr/games/chess Chess is an attempt at computer chess. The pro— gram ’speaks' in algebraic chess notation. The initial board configuration in this notation is as follows: 8 R *"00 *l ":17: wow *l '62 It'd?! N P * *I'U *I’UUI Awwemo‘q *1 *l *I *I mH’Utl U‘D’Ul 00"!) *I DuQ'UI ('DX'UIRI HIU‘TJI LQ'J'UIBI :J‘H’Ul A move is specified by the 'from’ co—ordinate followed by the ’to' co—ordinate. Thus the white P—K4 move would be 'e2e4'. The black P-K4 would be 'e7e5’. The following commands are recognized by the chess program: move Make the move if legal. The program does not keep track of who is to play. The move is made for what ever side is Specified. move 5 Make the move regardless of legality. This is a good way to either set up a desired situa- tion or to cheat. The initial move 'e2e8x' is a winner. The program will compute and make a move for the white pieces. '3 The program will compute and make a move for the black pieces. lab Set the level parameters to a and b, where a and b are numbers between 0 and 9. The ini— tial settings are 2 and 8. The first parame— ter increases computation time rapidly while the second parameter only increases computa— tion exponentially. Currently move times run from 20 seconds to 10 minutes. It was hoped that these numbers would be usefully related to the program's competence. 11/3/71 FILES SEE ALSO DIAGNOSTICS BUGS OWNER CHESS (VI) 2 The board is printed. E The last move is un—made. This is another good way to cheat. E, All the moves to date are printed. E The current game situation is saved on the file c.tmp. E The game situation on the file c.tmp is re— stored. !command The unix command is executed by the mini- shell. An interrupt (DEL) will pull the program out of its computation. If it is trying to make a move, the best move to date is made. c.tmp msh ? if an illegal move is attempted, or if an un- known command is typed. The current version does not recognize castling, promotion and en passant. A new version is in the mill. ken 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO DIAGNOSTICS BUGS OWNER DAS (VI) das —— disassembler A PDP—11 disassembler exists. Contact the author for more information. ’ 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO DIAGNOSTICS BUGS OWNER DLI (VI) dli —— load DEC binary paper tapes dli output [input] dli will load a DEC binary paper tape into the output file. read from the inpu /dev/Ppt l' checksum" dmr The binary format paper tape is 1: file (/dev/ppt is default.) 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO DIAGNOSTICS BUGS OWNER dpt —— read DEC ASCII paper tape dpt output [input] DPT (VI) dpt reads the input file (/dev/ppt default) as— suming the format is a DEC generated ASCII paper tape of an assembly language program. is a UNIX ASCII assembly program. /dev/ppt The output Almost always a hand pass is required to get a correct output. ken, dmr 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO DIAGNOSTICS BUGS OWNER MOO (VI) moo —- a game /usr/games/moo moo is a guessing game imported from England. 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO DIAGNOSTICS BUGS OWNER SORT (VI) sort —— sort a file c sort input output sort will sort_the input file and write the sort— ed file on the output file. Wide options are available on collating sequence and ignored char— acters . 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO DIAGNOSTICS BUGS OWNER TTT (VI) ttt —- tic—tac-toe /usr/games/ttt quwz ttt is the X's and 0's the—és-pOPular in 1st grade. This is a learning program that never makes the same mistake twice. ttt.k —— old mistakes ...
View Full Document

This note was uploaded on 04/18/2010 for the course ARCH Arch 101 taught by Professor Edwardhoe during the Spring '10 term at 카이스트, 한국과학기술원.

Page1 / 12

man61 - 11/3/71 NAME SYNOPSIS DESCRIPTION FILES SEE ALSO...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online