Google
 

Trailing-Edge - PDP-10 Archives - walsh_goodStuff_1600 - more-games/dodgem.exe
There are no other files named dodgem.exe in the archive.
?p ?xI>$y6Kb)(<u%(`OhFQF:zkq)?G?{rE@@B8
tv2@f++ggggp-M*hNT2@$2@$x+@,GB`8`gg2@IJNi98`ggQ02@aKb]8\Ys,1Qp6`1UV2@=2@\`KbM88\ys,1TG`TGMs u(	Huuxq2@]4K.m{Tb5@hHV(Y]0H$|$$||0V(Y{BC2@c3gg[wb5@hHXHkc1b|^.yhHXHkC
	2@"a961~2@52@|2@CKXY
52@wKbq,d[(zz
2@$@aQ,~2@"N8!1~b|^.yhHZh}C1,@2@['x7,N8Ph%. k*2:82@Hfghq~y
l]HHc~$
jT]HDn]H42-CTU.BH$2@Q'['<~y
lc(AQ%c(AIUUc(AQ[I0v$|2-.T.2@H3gl=Q~
l
dhHeHSH1b2@R-g4)Y
@
9
@TfXR*3xhgN2@H CT.BoTh@kR}Q%2@SWghqv~
@Th@kSUC'6$
iRkQ%2@WUgl=T2@Q'['<~~
@TkQ%82@C5gnH1(h)jlC1C12@M7['Ywh)jn`M5ghqY$@)#..FOR<<!?;aeEtm,f@8INXI>$y6GB`@`@0s "9Y@0A *ig?\[>p+N}xpoggGB`HFZh}]c1^HGB`ggGB``*a0E?b*b5@hqB)
0O2rPg

	t	|<H1g6q02X'@ENHby}!+E9!0!M2f	|(6gR],,Pg#H$|6$|PggR?8 
READFILE(TT)INTO(STR);haS<!OyfOSYSINxqI<TN(PphxC2<XOPPHM7N(yPTgRt(&IFSTR='BOARD'THENDO;hS<!rRpK;SYSPRINTxI<TRShp	%hC2<XRpT0#HM7RgRdXEQ;0*6gRxMON;HxgRY0ONATTENTIONMON;HEg6$XhT2]`3sIbHJg6$X[IgHNg6Ok]`5gHSg6n}Z@>G@gR]`RANDOM()=0;PugS<22PARSEERROR--CAN'TRECOGNIZE")"X\g6$[P@:I$88mI$80[>tw X	b+ "XXB( (QB( "XXB* @|! X |* 	b@@7O@!>|*>-4X@@O@!(Lu-4X!(i;-4X!(>9-4X!({-4X
&X ,X&	`
?CAN'T FIND HIGH SEGMENT ?x @|! X |* @@ "	bO@!>|*>6@+ /2B+7@,~
&X! ,X&
&X$ ,X&
&X&,~
%WARNING -- HIGH SEGMENT "" NOW FOUND ON :
@@7@,~)@. 
"+X&H	N;
 *@810.		END;
 820.		ELSE IF M=1 THEN DO;
 830.		IF I=SIZE THEN GO TO ILMOVE;
 840.		IF BD(I+1,J)^=0 THEN GO TO ILMOVE;
 850.		BD(I+1,J)=N;
 860.		END;
 870.		ELSE IF M=3 THEN DO;
 880.		IF I=1 THEN GO TO ILMOVE;
 890.		IF BD(I-1,J) ^= 0 THEN GO TO ILMOVE;
 900.		BD(I-1,J)=N;
 910.		END;
 920.		BD(I,J)=0;
 930.		GO TO MOVGEN;
 940.	ILMOVE:	PUT SKIP LIST('ILLEGAL MOVE');
 950.		GO TO MOVE;
 960.	MOVGEN:	NN=0;
 970.		DO I = 1 TO SIZE;
 980.		DO J = 1 TO SIZE;
 990.		IF BD(I,J)<0 THEN DO;
1000.		OVAL = BVAL(I,J);
1010.		CALL MVAL(1,0,RM);
1020.		CALL MVAL(0,-1,DM);
1030.		CALL MVAL(0,1,UM);
1040.		END;
1050.		END;u$gR(P/* DODGEM.CPL -- WRITTEN BY JOHN XENAKIS, 1975 */;PegRsXp?'		2 . . '; PUT SKIP;P
*g6$CypwH2_0u;G@	gR RANDOM()=0;Pmg6$wPh>p Ng Pvg
42!^H2>(Pl

READ FILE(TT) INTO(STR);P#g6$D@	;02W Vs PgRl@$ 
READ FILE(TT) INTO(STR);h^S<!	+RANDOMx	I<T 	JP+
@(	{C47d
HLg6$	X	PPH2M'X	OgRhp
DEFAULT(RANGE(*))'FIXED;P5g6$T@%"0o2dP@"TP-gRx0H@RM=8;DM=4;UM=0;Pig6$Zpu#P2^P@Vs PHgR=`P
ON ERROR GOTO GSIZE;Pfg6$3!2D@Ng P	9G:A#s BOARD SIZE:X
g6$@
j@gH2-  A`7x
	h	C2<Xh	NH;gRpDECLARE BL(10);h	US<!'H	t&BLx	YI<T(	h
{h	`C2<XP	m X	gg6$`	wH21&j= Q`><nqbx	nI5R(	a@	|pF(
lh	sC25VHxfX:8HP
sH	gR1`DO I = 1 TO 10; %h	+S<!	!x
.RMx
I<T!"p

\h
C2<X!x#8
 PngR%0. 
IF M=2 & J=SIZE THEN DO;xgR2@0BL(I)=SUBSTR('05040302010000000000',2*I-1,2);Pg6$/@2#pj h Pg6$@@2BZPr8X
!G:A# 
05040302010000000000h
3S<!
t(
@<5SUBSTRx
8I<T'(x
GP4
@h
?C2<X()@
L 0gR*END;H
Mg6$)`
}H21>Gh	CS<!
	+@
\EDMx
TI<T*X,8
c.h
[C2<X+@-
h X
bg6$<@gH27@ !`7x
U PNg6$$p2sH Z h
S<!	Z`
{4Ix
sI<T.H0(
@h
zC2<X/00p"g6$ (`zH2A`@+R@ 	`A Qa7 	`n"I`8"hj80g4%
Fg6$$(
Q0gH2*@)P88b+R8
PgRA`PDECLARE ALPH CHAR(26); ALPH=SUBSTR(COLLATE(),'102'B3,26);
Jh
iS<!
U5`.]UMx&I<T4x6X5	ah-C2<X5`7 : X4g6$	o@gH2p `7x' Pwg6$3p21he ^- x
rgRRP DECLARE BD(10,10),LIST(30,5),STR CHAR(100) VAR;P<gRu
@
?'		1 . . ';PUT SKIP;hES<!
KS`"BDxRI<T:0<anhXC2<X;<Xe h`S<!SU@
z@hS<!
9M@
l-ALPHxxI<T?@x

RhC2<X@A@
 X
g6$3X
dPwH2L@/f=!Q`o;GP~g6$(P2P ^- HgR(pDECLARE TT FILE;h
S<!
1ATTx
I<TCPE0
+h
"C2<XD8Ex
/ xYI5RCP
#G
9(p00F(
?h
0C25VFGX
= HH
8M7CP
1p
>gRp@OPEN FILE(TT) INPUT RECORD TITLE('TTY:');
S<!yJ 
RcrCOLLATEx
JI<TI8K
YP
Y@h
QC2<XJ K`
^ @
XG:AR
40@
g6$gH2RP`0%g`
LN8!Q`8`Pg^8@/f8x
cI5R?
N8
sA`F(h
kC25VM@<X=`Oh
~ h
yS<!gWSTRx
I<TPQh
#h> Q`><a`g`<8 
8/8@'X2TX(F(h2H0
1hH
(8h
\H.STARTxh
2a(M'xh; @
CG:A#
`TTY:`@0uEth4}G]^X$2k  	a-@CHAP8@ G:A#T NP@tC47dp	gRk 	0PUT SKIP LIST('DO YOU WANT THE RULES?');`gRe0
PIF STR^='N' & STR^='NO' THEN DO;@G:A# NOx&g6$d2
P	2D$K
Pz2D7o)b01g4% 6gRi8 ?'A PLAYING BOARD OF SIZE 3 STARTS OUT AS FOLLOWS:';PUT  SKIP;9G:A#' A PLAYING BOARD OF SIZE 3 STARTS OUT AS FOLLOWS:`Bg6$g f $2|`7@CHAPC8(`G:A# DO YOU WANT THE RULES?hSg6$c `	0$2l 	a-@CHAPT8Xqg6$(+
%2e0@0u@4
Rg7gRoARETHEALETTERS,ANDMINEHARETHEpDIGITS.';PUT?SKIP;eG:A#3.YOURSPIECESSARE;THELETTERS,AANDMINE ARETHEDIGITS.`ng6$l`I  A TURN CONSISTS`g6$ohN0$2yh7@CHAP80~gRX0END;bMHTG:A#C 		2 . . `g6$
X=p$2wX7@CHAP8HMG:A# 		1 . . `"g6$9`.
@$2u`7@CHAP#8X'g6$C
@$2x07@	a-@CAbH	G:A##p		.ABXBg6$x6$8?'OF MOVING ONE''S OWN PIECE, AS FOLLOWS.';PUT SKIP;xSG:A# OF MOVING ONE'S OWN PIECE, AS FOLLOWS.(XJg6$ $2sX7 	a-@CAb(pgRP%?'YOU MAY MOVE UP, LEFT OR RIGHT.  I MAY MOVE RIGHT, UP OR DOWN.';PUT SKIP; jG:A#\ YOU MAY MOVE UP, LEFT OR RIGHT.  I MAY MOVE RIGHT, UP OR DOWN.`ug6$}8P$2`7@CHAPv8Xg6$WP$2
x7 	a-@CAbgR
x ?'YOU MAY MOVE YOUR PIECES OFF THE TOP OF THE BOARD.';PUT SKIP;
G:A#v YOU MAY MOVE YOUR PIECES OFF THE TOP OF THE BOARD.U`[g6$z@q$27@CHAP\8\gR`p?'I MAY MOVE MY PIECES OFF OF THE RIGHT OF THE BOARD';PUT SKIP;#G:A# I MAY MOVE MY PIECES OFF OF THE RIGHT OF THE BOARD`,g6$Hcp$2
07@CHAP-8 bgR
@%?'AMOVEISINDICATEDBYTWOCHARACTERS.THEFIRSTCHARIS2THE';PUTSKIP;P;G:A#-XAMOVEIS$INDICATED7BYTWO CHARACTERS.bTHEFIRST$CHARPISpTHE`Eg6$@h@$2
7 	a-@CAbXOg6$:@$2(7 	a-@CAb0+g4%1Xg6$$27 	a-@CAbggR(?'PIECE BEING MOVED, AND THE SECOND CHAR IS THE';PUT SKIP;
gR`?'DIRECTIONA(U,D,L,RFORUP,DOWN,LEFTORRIGHT).';PUTMSKIP;~G:A#2EDIRECTION(U,D,L,RAFORUP,DOWN,LEFTORBRIGHT).`g6$xs`$287@CHAP8rgRx0?'FOREXAMPLE,}IFYOUMOVE"AU",THENTYOUGWILL';PUTASKIP;G:A#OFORIEXAMPLE,IFGYOU#MOVEH"AU",THENYOUWILL`g6$py0$27@CHAP8Hg6$rP	:0}2f(7>GvG:A#FPIECEBEING@MOVED,bANDXTHE6SECONDCHARISTHE`1g6$p-@CAbX&g6$P0$27 	a-@CAbXOg6$h$27 	a-@CAbmgR)` ?'YOU MAY SPECIFY IN THE RANGE 2 THROUGH 10.';PUT SKIP;X9g6$$27 	a-@CAb  gR$pp%?'WHEN IT IS YOUR MOVE, YOU MAY TYPE "RES" TO RESTART THE GAME,';PUT SKIP; G:A#F WHEN IT IS YOUR MOVE, YOU MAY TYPE "RES" TO RESTART THE GAME,`g6$"0-p$2%P7@CHAP8X&g6$p$20p7 	a-@CAb ,gR0p@$?'OR "PASS" TO GIVE UP A TURN, OR "BOARD" TO GET A NEW BOARD.';PUT SKIP;1G:A# OR "PASS" TO GIVE UP A TURN, OR "BOARD" TO GET A NEW BOARD.G:A# YOU MAY SPECIFY IN THE RANGE 2 THROUGH 10.`Eg6$ @! $247@CHAPF8
gR,h!?'THE GAME IS WON BY THE FIRST PLAYER WHO MOVES ALL HIS';PUT SKIP;SG:A#< THE GAME IS WON BY THE FIRST PLAYER WHO MOVES ALL HIS`\g6$*@$22(7@CHAP]8hgR/`?'PIECES OFF OF THE BOARD.';PUT SKIP;`kG:A#] 
PIECESOFFOFTHEPBOARD.`rg6$-H`$2/p7@CHAPs8Xxg6$-`$2X7/	a-@CAb(`;g6$&(E:	PUT SKIP LIST('BOARD SIZE:');(WXMg6$' $2$p7 	a-@CAb`zgR9ppGET STRING(STR!!' ') LIST(SIZE);Pg/1HuuP+g/!,uu@%G:A#	?  h5S<!Y8ASIZEx9I<T7(9Hh@C2<X89PM hGg6$4h
/p2%p	48@MZ8gK@MjFCG0g4%;<xgAhC2<X<=@l H	4g6$XrP2?8@IbHbg6cPkh?85gHqg6{P}h>(>GXlg6$MXO %29p@0u@4
RgHNgR%p@ON ERROR SYSTEM;h
.gRBIF SIZE<2 ! SIZE>10 THEN GOTO GSIZE;PMgRK8=p
IF BD(I,J)<0 THEN DO;xg6$@X	2E@
 Mj8 `g"]'y8'$8Pg6$,2E@ Ng 0RgRK(PEND;>h	>g6$n$2=` 	a-@CHAP	?8HgRE@`DO I = 1 TO SIZE;&g6$Dx`z2M0n@+R@ 	`A Mj8[`87B8
GEZz HmgRR0DO J = 1 TO SIZE;h3S<!:P5J(x I5R;`II(@0F('~0h@C25VHIX !@TgRJ8BD(I,J)=0;pNg6$IxZg2K(U
 `7
t"'`AxS Hg6$CXbP}2RU>G0YgRL  END;H^g6$Kpk }2E@n>GHagRM0pDO I = 2 TO SIZE;eg6$Lhzpz2Hs@+R@ `A Mj8[`87B8
GEZz0jg4%@rgROG@BD(I,1)=I-1;xug6$N`O @g2Yxs
.hC2<XP(Qh 	g6$F@S0z2L U@Qb@ 	`A Mj8[`87B8
GEZz @ygRYx!BD(1,I)=1-I;0NgRSx!`END;Hg6$SH	!`}2M0s>G@gRH"0CALL OBOARD;h#S<!8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