Google
 

Trailing-Edge - PDP-10 Archives - walsh_goodStuff_1600 - more-games/mugwmp.exe
There are no other files named mugwmp.exe in the archive.
?p@?x[V>{8Kb)
=E
`Oh~QF:{q)IH{rE@@Khyw]ggGBg@`Gp?Tx@,GB`8`gg2@IJNi98`ggQ02@aKb]8\YCfyQp6`yUV2@=2@\`KbM88\yCfyTG`TGMs E(|HEE2@]4K.m{Tb@hHV(Y]0H$	$$	|0V(Y{BC2@c3gg[wb@hHXHkc1b@{	hHXHkCX`mH=2@"a96*F2@52@|2@C	2<2hHZh}jDZh}a 2{||]2[(zz
2@$@aQfF2@"N8<2hH]k(qzq||z]bEa*H$<2@C5gnH1~b@{	hHZh}C1	qh_(!iOe -2@aj['{xP9:
y
y_8"ag2@AG[ t
P2@8
Y&t	q	y	}	q	}aH382@<:Su
t*%	n2@fgVL/#eb8dG[$89P@	nxcHCbhHc(AJV2@^32@^32@b--Fg2@0G[$:(P2@UgV/e`d8JS2@pM2@pMKbHw--Fg2@PG[$HwPnxhgN2@C(2@C(aLh&h@ihuC'2@9$2@9.['{x&-P @l9,82@C52@C5gnH1h@lC12@D(ghqX
%h
Wn`D&MM2@Jegl=TX
%h
Wt@KJc$@)#..FO<<Y;aeEtm,f@8INXpGB`@`@0z "9Y@0A &wiS?([>p+dx('ggGB`H~Zh}]c1^HGB`ggGB`(90}?b*b@hqB5%	xO2rPg

	
+
3<H1g6q02X'@ENHb	EL}M2_
3(6gR]`Go.8Pg#H$	6$	P
IF P(I,1) ^= -1 THEN DO;haS<!OyfOSYSINxqI<TN(Pp hxC2<XOPP HM7N(yP>g6$'xC2(8"@I hS<!rRpK;SYSPRINTxI<TRShp 	,%hC2<XRpT0# HM7R   2gRdXEQ;08gR_XEQ;0(g6@'HBg6$X8X@'0[>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&!(	HEND;
 310.		END;
 320.		END;
 330.		Dn@O J = 1 TO 4;
 340.		IF P(J,1) ^= -1 THEN GOTO L470;
 350.		END;
 360.		PUT SKIP;
 370.		?'YOU GOT THEM ALL IN',T,'TURNS'; PUT SKIP;
 380.		GOTO L580;
 390.	L470:	END;
 400.		PUT SKIP;
 410.		?'SORRY, THAT''S 10 TRIES.  HERE IS WHERE THEY''RE HIDING:'; PUT SKIP;
 420.		DO I = 1 TO 4;
 430.		IF P(I,1) = -1 THEN GOTO L570;
 440.		?'MUGWUMP',I,'IS AT(',P(I,1),',',P(I,2),')'; PUT SKIP;
 450.	L570:	END;
 460.	L580:	PUT SKIP;
 470.		;
 480.		?'THAT WAS FUN!  LET''S PLAY AGAIN .....'; PUT SKIP;
 490.		?'FOUR MORE MUGWUMPS ARE NOW IN HIDING'; PUT SKIP;
 500.		;
 510.		GOTO L240;
 520.	L1000:	PROC; DO J = 1 TO 2;
 530.		D0O I = 1 TO 4;
 540.		P(I,J) = 10*RANDOM();
 550.		END;
 560.		END;
 570.		RETURN;
 580.		END L1000;
q* gRdu0$gR(MON;P.abhepzUPUg6$*`Z`2+(@E= PBabhh0z
Bw2( &u;GH^g6$xw2 3sIbHmg6${	8IgHqg6rk	 5gHvg6	J}	p>GPzg
42H2pgRP/*MUGWMP.CPL--ADAPTED BY JOHN XENAKIS FROM A BASIC PROGRAM */;@	IgR( RANDOM() = 0;HLg6$	XnX2
BG:A#
<TURNNUMBERh	x	%I<T`@	4
h	+C2<XH	8 X	3g6$h
 g2!8 `7habX	9gR!8p
DEFAULT (RANGE(*)) FIXED;@

gR$X@DCL P(4,2);H	g6$P	:P2(M'P
qg6$B8	S
28@0a P
o2T@"<GH
RgRDECLARE D FLOAT;h	WS<!
	q2Dx	\I<TP0	k
h	bC2<X8x	o xhI5RP	c	y?'THE OBJECT OF THIS GAME IS TO FIND FOUR MUGWUMPS'; PUT SKIP;0
%pw2$X$-RP;^8h	DS<!	&%8
+8Px
I<T"#p
	ch
C2<X"x$8
# `
g6$Xi@w2x
$I5R"
&0
3$X F(	qh
*C25V%8*8bP8H@	y	~G:A# THE OBJECT OF THIS GAME IS TO FIND FOUR MUGWUMPS`
8g6$x
H`$2)@CHAP
98X
Ag6$
M`$2)X 	a-@CAb`g6$*xj0$2= @CHAP8@
2C47d
GgR)X0 ?'HIDDEN ON A 10 BY 10 GRID. HOMEBASE IS POSITION 0,0'; PUT SKIP;igR.(?'ANY GUESS YOU MAKE MUST BE TWO NUMBERS WITH EACH'; PUT SKIP;
`G:A# ANY GUESS YOU MAKE MUST BE TWO NUMBERS WITH EACH`
ig6$,P$2:@CHAP
j8OgR1 P?'NUMBER BETWEEN 0 AND 9 INCLUSIVE.  FIRST NUMBER '; PUT SKIP;
wG:A#
j NUMBER BETWEEN 0 AND 9 INCLUSIVE.  FIRST NUMBER `g6$/UP$2:X@CHAP88GgR<@PUT SKIP;L
VG:A#
9 HIDDEN ON A 10 BY 10 GRID. HOMEBASE IS POSITION 0,0TgR5h  ?'IS DISTANCE TO RIGHT OF HOMEBASE AND SECOND NUMBER'; PUT SKIP;G:A# IS DISTANCE TO RIGHT OF HOMEBASE AND SECOND NUMBER`%g6$3P[ $2;0@CHAP&8pZgR8 p?'IS DISTANCE ABOVE HOME BASE.'; PUT SKIP;h3G:A#& IS DISTANCE ABOVE HOME BASE.`:g6$6HHp$29@CHAP;8XAg6$`p$2< 	a-@CAb(h_X
qg6$
$21  	a-@CAbX	g6$.P$25h 	a-@CAbX-g6$B $28  	a-@CAbXg6$2
4@$2F@ 	a-@CAb8
lgRA`	0PUT SKIP;
)X
Lg6$
r0$2.(H	a-@CAbOgRF@?'YOU;GET10xTRIES.#AFTER EACH TRY, I WILL TELL'; PUT SKIP;
+ YOU HOW FAR YOU ARE FROM EACH MUGWUMP`g6$?
m`$2MP@C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