Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_40.ADF » GOLF

GOLF

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_40.ADF
Filename: GOLF
Read OK:
File size: 14CD bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
   10*KEY8RUN|M
   20*KEY9CLS|M
   30*KEY7MODE7|M
   40MODE 7
   50DATA367,4,445,4,314,4,189,3,520,5
   60DATA331,4,468,4,375,4,177,3,424,4
   70DATA562,5,336,4,208,3,447,4,298,4
   80DATA543,5,385,4,478,4
   90PROC_intro
  100PROC_init
  110MODE 5
  120VDU28,0,31,19,25 : VDU 19,1,2,0,0,0,0
  130c=0
  140FORH%=1TO18
  150YV=0:RV=0
  160GCOL0,1
  170PROC_hole
  180c=c+h
  190NEXT
  200MODE 7
  210PROC_fin
  220CLS:PRINT''"You went round in ";c
  230PRINT"Would you like to play another round"'" 'Y' for Yes"'" 'N' for No"
  240REPEAT:A$=GET$:UNTIL A$="Y" OR A$="N"
  250 IF A$="Y"THENRESTORE:GOTO100
  260STOP
  270DEFPROC_intro
  280CLS
  290FORC%=130TO132:PRINT'''
  300PRINTCHR$(C%);CHR$(141);TAB(14)"PRO _ GOLF"
  310PRINTCHR$(C%);CHR$(141);TAB(14)"PRO _ GOLF"
  320NEXT
  330PRINTCHR$(135)
  340ZZ=INKEY(500)
  350CLS
  360PRINT"Welcome to the";CHR$(136);"P.C.W. Links"
  370PRINT"This is an 18 hole course with a course record of 2 under."
  380PRINT"Have a good round be courteous to your"'"fellow golfers and see you in the club_ house."
  390ZZ=INKEY(1000)
  400ENDPROC
  410DEFPROC_init
  420CLS
  430REPEAT
  440PRINT"What is your handicap ";
  450INPUT H
  460UNTIL H=INT(H) AND H>-1 AND H<31
  470PRINT'" DIFFICULTIES AT GOLF "'
  480PRINT"1..Hooking"'
  490PRINT"2..Slicing"'
  500PRINT"3..Poor distance"'
  510PRINT"4..Trap shots"'
  520PRINT"5..Putting"'
  530REPEAT
  540PRINT"Which is your worst"'"Choose the number coresponding to one   only";
  550F=GET-48:PRINTF
  560UNTIL F=INT(F) AND F>0 AND F<6
  570ZZ=INKEY(500)
  580CLS
  590PRINT''"   SELECTION OF CLUBS"
  600PRINT"YARDAGE     CLUBS    REF No."
  610PRINT''" 280-200  1_4 WOODS   1_4"
  620PRINT'" 200_100  1_5 IRONS   11_15"
  630PRINT'" 100_ 0   6_9 IRONS   16_19"
  640ZZ=INKEY(2500)
  650CLS:FORCH=1TO18:READD,P:PRINT" Hole no. ";CH;"  ";D;" yds. Par ";P:NEXT
  660RESTORE
  670ZZ=INKEY(2500)
  680CLS
  690PRINT''"You control the strength of shot by the %age of total swing"''"0% = weak"''"100% = strong"
  700VDU19,1,2,0,0,0
  710haz=FALSE
  720ZZ=INKEY(2500)
  730ENDPROC
  740DEFPROC_hole
  750CLS:CLG
  760READD%,P%
  770PROC_PIC
  780PLOT69,TX,TY
  790PRINT"Hole No. ";H%;'"it's ";D%;" yards"'"and it's a par ";P%
  800D=D%
  810h=0
  820REPEAT
  830h=h+1
  840INPUT"What club ",C
  850IFC<>INT(C)THEN840
  860IFC<0 OR C>19 THEN 840
  870IFC>4 AND C<11 THEN 840
  880IFC>4THENC=C-6
  890CLS
  900INPUT"What %age swing ",B
  910IF RND(B)>7.5 THEN haz = TRUE
  920HD=B*(14-C)/13*2.8*(100+(30-H))/(125+RND(30))
  930IF F=3 THENHD=HD*.95
  940SOUND0,-10,4,2
  950HDP=INT(HD*10+.5)/10
  960PRINT"You have hit the"'"ball ";HDP;" yards and"
  970IFD>0THEN D=D-HD ELSE D=D+HD
  980IF ABS(D)>=.25 THEN PRINT"you are ";INT(D*10+.5)/10;" yards  from the pin" ELSE PRINT"You holed it in ";h
  990PLOT22,TX+(D%-D)*(HX-TX)/D%,TY+(D%-D)*(HY-TY)/D%
 1000IFRND(40)<H OR haz=TRUE THEN PROC_HAZARD
 1010haz=FALSE
 1020 UNTIL ABS(D)<20
 1030PROC_GREEN
 1040IF(h-P%+4)<8THENON (h-P%+4) GOTO 1050,1060,1070,1080,1090,1100,1110 ELSE GOTO1130
 1050PRINT"That's an ALBATROSS"'"3 under par":GOTO1120
 1060PRINT"That's an EAGLE"'"2 under par":GOTO1120
 1070PRINT"That's a BIRDIE"'"1 under par":GOTO1120
 1080PRINT"That's a PAR":GOTO 1120
 1090PRINT"That's BOGIE"'"1 over par":GOTO 1120
 1100PRINT"That's DOUBLE_BOGIE"'"2 over par":GOTO 1120
 1110PRINT"That's TRIPLE_BOGIE"'"3 over par":GOTO 1120
 1120GOTO1140
 1130PRINT"That was a disaster"'"but don't give up"
 1140ZZ=INKEY(500)
 1150ENDPROC
 1160DEFPROC_fin
 1170diff=c-72
 1180diff=diff DIV 2
 1190IF diff > 4 THEN 1350
 1200IF diff <-1 THEN 1370
 1210diff=diff+2
 1220ON diff GOTO 1230,1250,1270,1290,1310,1330
 1230PRINT"Great round next time you might get the record"
 1240ENDPROC
 1250PRINT"That was pretty good,a nice round by anystandards"
 1260ENDPROC
 1270PRINT"Not bad you have talent but still have  some tricks to learn"
 1280ENDPROC
 1290PRINT"Look up the club PRO some time he can   help you sort out your game"
 1300ENDPROC
 1310PRINT"I've seen worse rounds,but not often .  Ever considered TIDDLYWINKS?"
 1320ENDPROC
 1330PRINT"When did you learn to play?I know it wasthis week but was it YESTERDAY or the   day before?"
 1340ENDPROC
 1350PRINT"You are a CLOD , a BUFFOON!"'"Before you despoil this course again"'"it is required that you learn to play"'"the game of GOLF!!!"
 1360ENDPROC
 1370PRINT"MAGIC! That's a new course record you   ought to enter for the OPEN"
 1380ENDPROC
 1390ENDPROC
 1400DEFPROC_GREEN
 1410CLG:CLS:PRINT'TAB(5);"On the green"
 1420MOVE960,640
 1430FORd%=0TO360STEP10
 1440x=640+320*COS(d%*PI/180)
 1450y=640+320*SIN(d%*PI/180)
 1460DRAWx,y
 1470NEXT
 1480MOVE650,640
 1490FORd%=0TO360STEP10
 1500x=640+10*COS(d%*PI/180)
 1510y=640+10*SIN(d%*PI/180)
 1520DRAWx,y
 1530NEXT
 1540MOVE640,640+D/20*320
 1550REPEAT
 1560PLOT22,640,640+D/20*320
 1570PRINT"You are now ";INT(ABS(D)+.5);" yards"'"from the pin"
 1580INPUT"What  CLUB ",C
 1590IFC<>19THENPRINT"BAD choice of club":GOTO1580
 1600INPUT"%age swing ",B
 1610h=h+1
 1620HD=40*(B+RND(3))/100
 1630IFF=5THENHD=HD+2*(RND(1)-.5)
 1640IFABS(D)<1THEN1670
 1650IFD>0 THEN D=D-HD ELSE D=D+HD
 1660PRINT"That went ";INT(ABS(HD)+.5);" yards"
 1670UNTILABS(D)<1
 1680FORZZ%=1TO5
 1690PLOT22,640,640
 1700ZZ=INKEY(10)
 1710NEXT
 1720ENDPROC
 1730DEFPROC_PIC
 1740VDU5
 1750MOVE640,768:DRAW240,768:DRAW160,640:DRAW240,512:DRAW640,512
 1760IFP%=3THEN DRAW880,512:DRAW960,640:DRAW880,768:DRAW640,768:HX=900:HY=630
 1770RV=RND(3)
 1780IFP%>3ANDRV=1THENDRAW960,384:DRAW1120,512:DRAW1120,640:DRAW960,768:DRAW640,768:HX=950:HY=450
 1790IFP%>3ANDRV=2THENDRAW960,512:DRAW1120,640:DRAW1120,768:DRAW960,896:DRAW800,796:DRAW640,768:HX=1000:HY=820
 1800IFP%>3ANDRV=3THENDRAW1120,512:DRAW1200,640:DRAW1120,768:DRAW640,768:HX=1150:HY=650
 1810MOVEHX,HY:PRINT"O":TX=180:TY=640
 1820FORF%=1TO11
 1830MOVE180,640:PLOT70,180,640:ZZ=INKEY(10)
 1840NEXT
 1850VDU4
 1860ENDPROC
 1870DEFPROC_HAZARD
 1880IFRND(20)=20THEN1890 ELSE 1920
 1890CLS:PRINT'"Out of bounds !"
 1900PRINT"drop ball,penalty"'"one stroke":h=h+1
 1910GOTO2130
 1920IF F<3 THEN 1990
 1930CLS:PRINT"   B U N K E R"
 1940PRINT"Your best chance is"'"your 7 iron"
 1950INPUT"%age of swing ",B
 1960IFB<0 OR B>100 THEN 1950
 1970IFRND(B)>75 THEN haz =TRUE:CLS:PRINT"FAILED to get out":h=h+1:GOTO2130
 1980HD=B:D=D-HD:haz=FALSE:PLOT22,TX+(D%-D)*(HX-TX)/D%,TY+(D%-D)*(HY-TY)/D%
 1990CLS:PRINT"In the R O U G H"
 2000INPUT"Which club ",C
 2010IFC<>INT(C) OR C<0 THEN 2000
 2020IFC>4THENC=C-6
 2030IFC>13THEN2000
 2040INPUT"%age of swing ",B
 2050IFB<0 OR B>100 THEN 2040
 2060IFRND(B)>75 THEN haz =TRUE
 2070HD=B*(14-C)/13*2.8*(100+(30-H))/(125+RND(30))
 2080D=D-HD
 2090HDP=INT(HD*10+.5)/10
 2100PRINT"You have hit the"'"ball ";HDP;" yards and"
 2110PRINT"you are ";INT(D*10+.5)/10;" yards  from the pin"
 2120PLOT22,TX+(D%-D)*(HX-TX)/D%,TY+(D%-D)*(HY-TY)/D%
 2130ENDPROC

*KEY8RUN|M
*KEY9CLS|M
*KEY7MODE7|M
(� 7
2"�367,4,445,4,314,4,189,3,520,5
<"�331,4,468,4,375,4,177,3,424,4
F"�562,5,336,4,208,3,447,4,298,4
P�543,5,385,4,478,4
Z�_intro
d
�_init
n� 5
x%�28,0,31,19,25 : � 19,1,2,0,0,0,0
�c=0
��H%=1�18
�
YV=0:RV=0
��0,1
�
�_hole
�	c=c+h
��
�� 7
�	�_fin
��:�''"You went round in ";c
�H�"Would you like to play another round"'" 'Y' for Yes"'" 'N' for No"
��:A$=�:� A$="Y" � A$="N"
� � A$="Y"��:�Dd@
�
��_intro
�
"�C%=130�132:�'''
,"�(C%);�(141);�14)"PRO _ GOLF"
6"�(C%);�(141);�14)"PRO _ GOLF"
@�
J�(135)
T
ZZ=�(500)
^�
h+�"Welcome to the";�(136);"P.C.W. Links"
rA�"This is an 18 hole course with a course record of 2 under."
|^�"Have a good round be courteous to your"'"fellow golfers and see you in the club_ house."
�ZZ=�(1000)
��
���_init
��
��
��"What is your handicap ";
�� H
�� H=�(H) � H>-1 � H<31
��'" DIFFICULTIES AT GOLF "'
��"1..Hooking"'
��"2..Slicing"'
��"3..Poor distance"'
��"4..Trap shots"'
�"5..Putting"'
�
J�"Which is your worst"'"Choose the number coresponding to one   only";
&
F=�-48:�F
0� F=�(F) � F>0 � F<6
:
ZZ=�(500)
D�
N�''"   SELECTION OF CLUBS"
X#�"YARDAGE     CLUBS    REF No."
b"�''" 280-200  1_4 WOODS   1_4"
l#�'" 200_100  1_5 IRONS   11_15"
v#�'" 100_ 0   6_9 IRONS   16_19"
�ZZ=�(2500)
�<�:�CH=1�18:�D,P:�" Hole no. ";CH;"  ";D;" yds. Par ";P:�
��
�ZZ=�(2500)
��
�b�''"You control the strength of shot by the %age of total swing"''"0% = weak"''"100% = strong"
��19,1,2,0,0,0
�	haz=�
�ZZ=�(2500)
��
���_hole
��:�
�
�D%,P%
	�_PIC

�69,TX,TY
=�"Hole No. ";H%;'"it's ";D%;" yards"'"and it's a par ";P%
 D=D%
*h=0
4�
>	h=h+1
H�"What club ",C
R�C<>�(C)��DHC
\�C<0 � C>19 � �DHC
f�C>4 � C<11 � �DHC
p�C>4�C=C-6
z�
��"What %age swing ",B
�� �(B)>7.5 � haz = �
�/HD=B*(14-C)/13*2.8*(100+(30-H))/(125+�(30))
�� F=3 �HD=HD*.95
��0,-10,4,2
�HDP=�(HD*10+.5)/10
�0�"You have hit the"'"ball ";HDP;" yards and"
��D>0� D=D-HD � D=D+HD
�Z� �(D)>=.25 � �"you are ";�(D*10+.5)/10;" yards  from the pin" � �"You holed it in ";h
�1�22,TX+(D%-D)*(HX-TX)/D%,TY+(D%-D)*(HY-TY)/D%
��(40)<H � haz=� � �_HAZARD
�	haz=�
� � �(D)<20
�_GREEN
G�(h-P%+4)<8�� (h-P%+4) � �TZD,�TdD,�TnD,�TxD,�DBD,�DLD,�DVD � �DjD
.�"That's an ALBATROSS"'"3 under par":�D`D
$*�"That's an EAGLE"'"2 under par":�D`D
.*�"That's a BIRDIE"'"1 under par":�D`D
8�"That's a PAR":� �D`D
B'�"That's BOGIE"'"1 over par":� �D`D
L.�"That's DOUBLE_BOGIE"'"2 over par":� �D`D
V.�"That's TRIPLE_BOGIE"'"3 over par":� �D`D
`	�DtD
j.�"That was a disaster"'"but don't give up"
t
ZZ=�(500)
~�
�
��_fin
�
diff=c-72
�diff=diff � 2
�� diff > 4 � �DFE
�� diff <-1 � �DZE
�diff=diff+2
�*� diff � �dND,�dbD,�dvD,�TJE,�T^E,�TrE
�5�"Great round next time you might get the record"
��
�8�"That was pretty good,a nice round by anystandards"
��
�C�"Not bad you have talent but still have  some tricks to learn"
�

J�"Look up the club PRO some time he can   help you sort out your game"
�
K�"I've seen worse rounds,but not often .  Ever considered TIDDLYWINKS?"
(�
2b�"When did you learn to play?I know it wasthis week but was it YESTERDAY or the   day before?"
<�
F��"You are a CLOD , a BUFFOON!"'"Before you despoil this course again"'"it is required that you learn to play"'"the game of GOLF!!!"
P�
ZJ�"MAGIC! That's a new course record you   ought to enter for the OPEN"
d�
n�
x��_GREEN
��:�:�'�5);"On the green"
��960,640
��d%=0�360�10
�x=640+320*�(d%*�/180)
�y=640+320*�(d%*�/180)
��x,y
��
��650,640
��d%=0�360�10
�x=640+10*�(d%*�/180)
�y=640+10*�(d%*�/180)
��x,y
��
�640,640+D/20*320
�
�22,640,640+D/20*320
"6�"You are now ";�(�(D)+.5);" yards"'"from the pin"
,�"What  CLUB ",C
6&�C<>19��"BAD choice of club":�TlF
@�"%age swing ",B
J	h=h+1
THD=40*(B+�(3))/100
^�F=5�HD=HD+2*(�(1)-.5)
h�(D)<1��tFF
r�D>0 � D=D-HD � D=D+HD
|&�"That went ";�(�(HD)+.5);" yards"
���(D)<1
��ZZ%=1�5
��22,640,640
�ZZ=�(10)
��
��
�
��_PIC
��5
�0�640,768:�240,768:�160,640:�240,512:�640,512
�<�P%=3� �880,512:�960,640:�880,768:�640,768:HX=900:HY=630
�RV=�(3)
�K�P%>3�RV=1��960,384:�1120,512:�1120,640:�960,768:�640,768:HX=950:HY=450
�U�P%>3�RV=2��960,512:�1120,640:�1120,768:�960,896:�800,796:�640,768:HX=1000:HY=820
D�P%>3�RV=3��1120,512:�1200,640:�1120,768:�640,768:HX=1150:HY=650
�HX,HY:�"O":TX=180:TY=640
�F%=1�11
&!�180,640:�70,180,640:ZZ=�(10)
0�
:�4
D�
N
��_HAZARD
X�(20)=20��DbG � �t@G
b�:�'"Out of bounds !"
l+�"drop ball,penalty"'"one stroke":h=h+1
v	�DRH
�� F<3 � �dFG
��:�"   B U N K E R"
�(�"Your best chance is"'"your 7 iron"
��"%age of swing ",B
��B<0 � B>100 � �t^G
�8�(B)>75 � haz =�:�:�"FAILED to get out":h=h+1:�DRH
�CHD=B:D=D-HD:haz=�:�22,TX+(D%-D)*(HX-TX)/D%,TY+(D%-D)*(HY-TY)/D%
��:�"In the R O U G H"
��"Which club ",C
��C<>�(C) � C<0 � �dPG
��C>4�C=C-6
��C>13��dPG
��"%age of swing ",B
�B<0 � B>100 � �dxG
�(B)>75 � haz =�
/HD=B*(14-C)/13*2.8*(100+(30-H))/(125+�(30))
 
D=D-HD
*HDP=�(HD*10+.5)/10
40�"You have hit the"'"ball ";HDP;" yards and"
>4�"you are ";�(D*10+.5)/10;" yards  from the pin"
H1�22,TX+(D%-D)*(HX-TX)/D%,TY+(D%-D)*(HY-TY)/D%
R�
�
00000000  0d 00 0a 0e 2a 4b 45 59  38 52 55 4e 7c 4d 0d 00  |....*KEY8RUN|M..|
00000010  14 0e 2a 4b 45 59 39 43  4c 53 7c 4d 0d 00 1e 10  |..*KEY9CLS|M....|
00000020  2a 4b 45 59 37 4d 4f 44  45 37 7c 4d 0d 00 28 07  |*KEY7MODE7|M..(.|
00000030  eb 20 37 0d 00 32 22 dc  33 36 37 2c 34 2c 34 34  |. 7..2".367,4,44|
00000040  35 2c 34 2c 33 31 34 2c  34 2c 31 38 39 2c 33 2c  |5,4,314,4,189,3,|
00000050  35 32 30 2c 35 0d 00 3c  22 dc 33 33 31 2c 34 2c  |520,5..<".331,4,|
00000060  34 36 38 2c 34 2c 33 37  35 2c 34 2c 31 37 37 2c  |468,4,375,4,177,|
00000070  33 2c 34 32 34 2c 34 0d  00 46 22 dc 35 36 32 2c  |3,424,4..F".562,|
00000080  35 2c 33 33 36 2c 34 2c  32 30 38 2c 33 2c 34 34  |5,336,4,208,3,44|
00000090  37 2c 34 2c 32 39 38 2c  34 0d 00 50 16 dc 35 34  |7,4,298,4..P..54|
000000a0  33 2c 35 2c 33 38 35 2c  34 2c 34 37 38 2c 34 0d  |3,5,385,4,478,4.|
000000b0  00 5a 0b f2 5f 69 6e 74  72 6f 0d 00 64 0a f2 5f  |.Z.._intro..d.._|
000000c0  69 6e 69 74 0d 00 6e 07  eb 20 35 0d 00 78 25 ef  |init..n.. 5..x%.|
000000d0  32 38 2c 30 2c 33 31 2c  31 39 2c 32 35 20 3a 20  |28,0,31,19,25 : |
000000e0  ef 20 31 39 2c 31 2c 32  2c 30 2c 30 2c 30 2c 30  |. 19,1,2,0,0,0,0|
000000f0  0d 00 82 07 63 3d 30 0d  00 8c 0c e3 48 25 3d 31  |....c=0.....H%=1|
00000100  b8 31 38 0d 00 96 0d 59  56 3d 30 3a 52 56 3d 30  |.18....YV=0:RV=0|
00000110  0d 00 a0 08 e6 30 2c 31  0d 00 aa 0a f2 5f 68 6f  |.....0,1....._ho|
00000120  6c 65 0d 00 b4 09 63 3d  63 2b 68 0d 00 be 05 ed  |le....c=c+h.....|
00000130  0d 00 c8 07 eb 20 37 0d  00 d2 09 f2 5f 66 69 6e  |..... 7....._fin|
00000140  0d 00 dc 1f db 3a f1 27  27 22 59 6f 75 20 77 65  |.....:.''"You we|
00000150  6e 74 20 72 6f 75 6e 64  20 69 6e 20 22 3b 63 0d  |nt round in ";c.|
00000160  00 e6 48 f1 22 57 6f 75  6c 64 20 79 6f 75 20 6c  |..H."Would you l|
00000170  69 6b 65 20 74 6f 20 70  6c 61 79 20 61 6e 6f 74  |ike to play anot|
00000180  68 65 72 20 72 6f 75 6e  64 22 27 22 20 27 59 27  |her round"'" 'Y'|
00000190  20 66 6f 72 20 59 65 73  22 27 22 20 27 4e 27 20  | for Yes"'" 'N' |
000001a0  66 6f 72 20 4e 6f 22 0d  00 f0 1c f5 3a 41 24 3d  |for No".....:A$=|
000001b0  be 3a fd 20 41 24 3d 22  59 22 20 84 20 41 24 3d  |.:. A$="Y" . A$=|
000001c0  22 4e 22 0d 00 fa 15 20  e7 20 41 24 3d 22 59 22  |"N".... . A$="Y"|
000001d0  8c f7 3a e5 8d 44 64 40  0d 01 04 05 fa 0d 01 0e  |..:..Dd@........|
000001e0  0c dd f2 5f 69 6e 74 72  6f 0d 01 18 05 db 0d 01  |..._intro.......|
000001f0  22 14 e3 43 25 3d 31 33  30 b8 31 33 32 3a f1 27  |"..C%=130.132:.'|
00000200  27 27 0d 01 2c 22 f1 bd  28 43 25 29 3b bd 28 31  |''..,"..(C%);.(1|
00000210  34 31 29 3b 8a 31 34 29  22 50 52 4f 20 5f 20 47  |41);.14)"PRO _ G|
00000220  4f 4c 46 22 0d 01 36 22  f1 bd 28 43 25 29 3b bd  |OLF"..6"..(C%);.|
00000230  28 31 34 31 29 3b 8a 31  34 29 22 50 52 4f 20 5f  |(141);.14)"PRO _|
00000240  20 47 4f 4c 46 22 0d 01  40 05 ed 0d 01 4a 0b f1  | GOLF"..@....J..|
00000250  bd 28 31 33 35 29 0d 01  54 0d 5a 5a 3d a6 28 35  |.(135)..T.ZZ=.(5|
00000260  30 30 29 0d 01 5e 05 db  0d 01 68 2b f1 22 57 65  |00)..^....h+."We|
00000270  6c 63 6f 6d 65 20 74 6f  20 74 68 65 22 3b bd 28  |lcome to the";.(|
00000280  31 33 36 29 3b 22 50 2e  43 2e 57 2e 20 4c 69 6e  |136);"P.C.W. Lin|
00000290  6b 73 22 0d 01 72 41 f1  22 54 68 69 73 20 69 73  |ks"..rA."This is|
000002a0  20 61 6e 20 31 38 20 68  6f 6c 65 20 63 6f 75 72  | an 18 hole cour|
000002b0  73 65 20 77 69 74 68 20  61 20 63 6f 75 72 73 65  |se with a course|
000002c0  20 72 65 63 6f 72 64 20  6f 66 20 32 20 75 6e 64  | record of 2 und|
000002d0  65 72 2e 22 0d 01 7c 5e  f1 22 48 61 76 65 20 61  |er."..|^."Have a|
000002e0  20 67 6f 6f 64 20 72 6f  75 6e 64 20 62 65 20 63  | good round be c|
000002f0  6f 75 72 74 65 6f 75 73  20 74 6f 20 79 6f 75 72  |ourteous to your|
00000300  22 27 22 66 65 6c 6c 6f  77 20 67 6f 6c 66 65 72  |"'"fellow golfer|
00000310  73 20 61 6e 64 20 73 65  65 20 79 6f 75 20 69 6e  |s and see you in|
00000320  20 74 68 65 20 63 6c 75  62 5f 20 68 6f 75 73 65  | the club_ house|
00000330  2e 22 0d 01 86 0e 5a 5a  3d a6 28 31 30 30 30 29  |."....ZZ=.(1000)|
00000340  0d 01 90 05 e1 0d 01 9a  0b dd f2 5f 69 6e 69 74  |..........._init|
00000350  0d 01 a4 05 db 0d 01 ae  05 f5 0d 01 b8 1e f1 22  |..............."|
00000360  57 68 61 74 20 69 73 20  79 6f 75 72 20 68 61 6e  |What is your han|
00000370  64 69 63 61 70 20 22 3b  0d 01 c2 07 e8 20 48 0d  |dicap ";..... H.|
00000380  01 cc 1a fd 20 48 3d a8  28 48 29 20 80 20 48 3e  |.... H=.(H) . H>|
00000390  2d 31 20 80 20 48 3c 33  31 0d 01 d6 1f f1 27 22  |-1 . H<31.....'"|
000003a0  20 44 49 46 46 49 43 55  4c 54 49 45 53 20 41 54  | DIFFICULTIES AT|
000003b0  20 47 4f 4c 46 20 22 27  0d 01 e0 12 f1 22 31 2e  | GOLF "'....."1.|
000003c0  2e 48 6f 6f 6b 69 6e 67  22 27 0d 01 ea 12 f1 22  |.Hooking"'....."|
000003d0  32 2e 2e 53 6c 69 63 69  6e 67 22 27 0d 01 f4 18  |2..Slicing"'....|
000003e0  f1 22 33 2e 2e 50 6f 6f  72 20 64 69 73 74 61 6e  |."3..Poor distan|
000003f0  63 65 22 27 0d 01 fe 15  f1 22 34 2e 2e 54 72 61  |ce"'....."4..Tra|
00000400  70 20 73 68 6f 74 73 22  27 0d 02 08 12 f1 22 35  |p shots"'....."5|
00000410  2e 2e 50 75 74 74 69 6e  67 22 27 0d 02 12 05 f5  |..Putting"'.....|
00000420  0d 02 1c 4a f1 22 57 68  69 63 68 20 69 73 20 79  |...J."Which is y|
00000430  6f 75 72 20 77 6f 72 73  74 22 27 22 43 68 6f 6f  |our worst"'"Choo|
00000440  73 65 20 74 68 65 20 6e  75 6d 62 65 72 20 63 6f  |se the number co|
00000450  72 65 73 70 6f 6e 64 69  6e 67 20 74 6f 20 6f 6e  |responding to on|
00000460  65 20 20 20 6f 6e 6c 79  22 3b 0d 02 26 0d 46 3d  |e   only";..&.F=|
00000470  a5 2d 34 38 3a f1 46 0d  02 30 18 fd 20 46 3d a8  |.-48:.F..0.. F=.|
00000480  28 46 29 20 80 20 46 3e  30 20 80 20 46 3c 36 0d  |(F) . F>0 . F<6.|
00000490  02 3a 0d 5a 5a 3d a6 28  35 30 30 29 0d 02 44 05  |.:.ZZ=.(500)..D.|
000004a0  db 0d 02 4e 1e f1 27 27  22 20 20 20 53 45 4c 45  |...N..''"   SELE|
000004b0  43 54 49 4f 4e 20 4f 46  20 43 4c 55 42 53 22 0d  |CTION OF CLUBS".|
000004c0  02 58 23 f1 22 59 41 52  44 41 47 45 20 20 20 20  |.X#."YARDAGE    |
000004d0  20 43 4c 55 42 53 20 20  20 20 52 45 46 20 4e 6f  | CLUBS    REF No|
000004e0  2e 22 0d 02 62 22 f1 27  27 22 20 32 38 30 2d 32  |."..b".''" 280-2|
000004f0  30 30 20 20 31 5f 34 20  57 4f 4f 44 53 20 20 20  |00  1_4 WOODS   |
00000500  31 5f 34 22 0d 02 6c 23  f1 27 22 20 32 30 30 5f  |1_4"..l#.'" 200_|
00000510  31 30 30 20 20 31 5f 35  20 49 52 4f 4e 53 20 20  |100  1_5 IRONS  |
00000520  20 31 31 5f 31 35 22 0d  02 76 23 f1 27 22 20 31  | 11_15"..v#.'" 1|
00000530  30 30 5f 20 30 20 20 20  36 5f 39 20 49 52 4f 4e  |00_ 0   6_9 IRON|
00000540  53 20 20 20 31 36 5f 31  39 22 0d 02 80 0e 5a 5a  |S   16_19"....ZZ|
00000550  3d a6 28 32 35 30 30 29  0d 02 8a 3c db 3a e3 43  |=.(2500)...<.:.C|
00000560  48 3d 31 b8 31 38 3a f3  44 2c 50 3a f1 22 20 48  |H=1.18:.D,P:." H|
00000570  6f 6c 65 20 6e 6f 2e 20  22 3b 43 48 3b 22 20 20  |ole no. ";CH;"  |
00000580  22 3b 44 3b 22 20 79 64  73 2e 20 50 61 72 20 22  |";D;" yds. Par "|
00000590  3b 50 3a ed 0d 02 94 05  f7 0d 02 9e 0e 5a 5a 3d  |;P:..........ZZ=|
000005a0  a6 28 32 35 30 30 29 0d  02 a8 05 db 0d 02 b2 62  |.(2500)........b|
000005b0  f1 27 27 22 59 6f 75 20  63 6f 6e 74 72 6f 6c 20  |.''"You control |
000005c0  74 68 65 20 73 74 72 65  6e 67 74 68 20 6f 66 20  |the strength of |
000005d0  73 68 6f 74 20 62 79 20  74 68 65 20 25 61 67 65  |shot by the %age|
000005e0  20 6f 66 20 74 6f 74 61  6c 20 73 77 69 6e 67 22  | of total swing"|
000005f0  27 27 22 30 25 20 3d 20  77 65 61 6b 22 27 27 22  |''"0% = weak"''"|
00000600  31 30 30 25 20 3d 20 73  74 72 6f 6e 67 22 0d 02  |100% = strong"..|
00000610  bc 11 ef 31 39 2c 31 2c  32 2c 30 2c 30 2c 30 0d  |...19,1,2,0,0,0.|
00000620  02 c6 09 68 61 7a 3d a3  0d 02 d0 0e 5a 5a 3d a6  |...haz=.....ZZ=.|
00000630  28 32 35 30 30 29 0d 02  da 05 e1 0d 02 e4 0b dd  |(2500)..........|
00000640  f2 5f 68 6f 6c 65 0d 02  ee 07 db 3a da 0d 02 f8  |._hole.....:....|
00000650  0a f3 44 25 2c 50 25 0d  03 02 09 f2 5f 50 49 43  |..D%,P%....._PIC|
00000660  0d 03 0c 0d f0 36 39 2c  54 58 2c 54 59 0d 03 16  |.....69,TX,TY...|
00000670  3d f1 22 48 6f 6c 65 20  4e 6f 2e 20 22 3b 48 25  |=."Hole No. ";H%|
00000680  3b 27 22 69 74 27 73 20  22 3b 44 25 3b 22 20 79  |;'"it's ";D%;" y|
00000690  61 72 64 73 22 27 22 61  6e 64 20 69 74 27 73 20  |ards"'"and it's |
000006a0  61 20 70 61 72 20 22 3b  50 25 0d 03 20 08 44 3d  |a par ";P%.. .D=|
000006b0  44 25 0d 03 2a 07 68 3d  30 0d 03 34 05 f5 0d 03  |D%..*.h=0..4....|
000006c0  3e 09 68 3d 68 2b 31 0d  03 48 13 e8 22 57 68 61  |>.h=h+1..H.."Wha|
000006d0  74 20 63 6c 75 62 20 22  2c 43 0d 03 52 11 e7 43  |t club ",C..R..C|
000006e0  3c 3e a8 28 43 29 8c 8d  44 48 43 0d 03 5c 16 e7  |<>.(C)..DHC..\..|
000006f0  43 3c 30 20 84 20 43 3e  31 39 20 8c 20 8d 44 48  |C<0 . C>19 . .DH|
00000700  43 0d 03 66 16 e7 43 3e  34 20 80 20 43 3c 31 31  |C..f..C>4 . C<11|
00000710  20 8c 20 8d 44 48 43 0d  03 70 0e e7 43 3e 34 8c  | . .DHC..p..C>4.|
00000720  43 3d 43 2d 36 0d 03 7a  05 db 0d 03 84 19 e8 22  |C=C-6..z......."|
00000730  57 68 61 74 20 25 61 67  65 20 73 77 69 6e 67 20  |What %age swing |
00000740  22 2c 42 0d 03 8e 18 e7  20 b3 28 42 29 3e 37 2e  |",B..... .(B)>7.|
00000750  35 20 8c 20 68 61 7a 20  3d 20 b9 0d 03 98 2f 48  |5 . haz = ..../H|
00000760  44 3d 42 2a 28 31 34 2d  43 29 2f 31 33 2a 32 2e  |D=B*(14-C)/13*2.|
00000770  38 2a 28 31 30 30 2b 28  33 30 2d 48 29 29 2f 28  |8*(100+(30-H))/(|
00000780  31 32 35 2b b3 28 33 30  29 29 0d 03 a2 14 e7 20  |125+.(30))..... |
00000790  46 3d 33 20 8c 48 44 3d  48 44 2a 2e 39 35 0d 03  |F=3 .HD=HD*.95..|
000007a0  ac 0e d4 30 2c 2d 31 30  2c 34 2c 32 0d 03 b6 16  |...0,-10,4,2....|
000007b0  48 44 50 3d a8 28 48 44  2a 31 30 2b 2e 35 29 2f  |HDP=.(HD*10+.5)/|
000007c0  31 30 0d 03 c0 30 f1 22  59 6f 75 20 68 61 76 65  |10...0."You have|
000007d0  20 68 69 74 20 74 68 65  22 27 22 62 61 6c 6c 20  | hit the"'"ball |
000007e0  22 3b 48 44 50 3b 22 20  79 61 72 64 73 20 61 6e  |";HDP;" yards an|
000007f0  64 22 0d 03 ca 19 e7 44  3e 30 8c 20 44 3d 44 2d  |d".....D>0. D=D-|
00000800  48 44 20 8b 20 44 3d 44  2b 48 44 0d 03 d4 5a e7  |HD . D=D+HD...Z.|
00000810  20 94 28 44 29 3e 3d 2e  32 35 20 8c 20 f1 22 79  | .(D)>=.25 . ."y|
00000820  6f 75 20 61 72 65 20 22  3b a8 28 44 2a 31 30 2b  |ou are ";.(D*10+|
00000830  2e 35 29 2f 31 30 3b 22  20 79 61 72 64 73 20 20  |.5)/10;" yards  |
00000840  66 72 6f 6d 20 74 68 65  20 70 69 6e 22 20 8b 20  |from the pin" . |
00000850  f1 22 59 6f 75 20 68 6f  6c 65 64 20 69 74 20 69  |."You holed it i|
00000860  6e 20 22 3b 68 0d 03 de  31 f0 32 32 2c 54 58 2b  |n ";h...1.22,TX+|
00000870  28 44 25 2d 44 29 2a 28  48 58 2d 54 58 29 2f 44  |(D%-D)*(HX-TX)/D|
00000880  25 2c 54 59 2b 28 44 25  2d 44 29 2a 28 48 59 2d  |%,TY+(D%-D)*(HY-|
00000890  54 59 29 2f 44 25 0d 03  e8 1f e7 b3 28 34 30 29  |TY)/D%......(40)|
000008a0  3c 48 20 84 20 68 61 7a  3d b9 20 8c 20 f2 5f 48  |<H . haz=. . ._H|
000008b0  41 5a 41 52 44 0d 03 f2  09 68 61 7a 3d a3 0d 03  |AZARD....haz=...|
000008c0  fc 0e 20 fd 20 94 28 44  29 3c 32 30 0d 04 06 0b  |.. . .(D)<20....|
000008d0  f2 5f 47 52 45 45 4e 0d  04 10 47 e7 28 68 2d 50  |._GREEN...G.(h-P|
000008e0  25 2b 34 29 3c 38 8c ee  20 28 68 2d 50 25 2b 34  |%+4)<8.. (h-P%+4|
000008f0  29 20 e5 20 8d 54 5a 44  2c 8d 54 64 44 2c 8d 54  |) . .TZD,.TdD,.T|
00000900  6e 44 2c 8d 54 78 44 2c  8d 44 42 44 2c 8d 44 4c  |nD,.TxD,.DBD,.DL|
00000910  44 2c 8d 44 56 44 20 8b  20 e5 8d 44 6a 44 0d 04  |D,.DVD . ..DjD..|
00000920  1a 2e f1 22 54 68 61 74  27 73 20 61 6e 20 41 4c  |..."That's an AL|
00000930  42 41 54 52 4f 53 53 22  27 22 33 20 75 6e 64 65  |BATROSS"'"3 unde|
00000940  72 20 70 61 72 22 3a e5  8d 44 60 44 0d 04 24 2a  |r par":..D`D..$*|
00000950  f1 22 54 68 61 74 27 73  20 61 6e 20 45 41 47 4c  |."That's an EAGL|
00000960  45 22 27 22 32 20 75 6e  64 65 72 20 70 61 72 22  |E"'"2 under par"|
00000970  3a e5 8d 44 60 44 0d 04  2e 2a f1 22 54 68 61 74  |:..D`D...*."That|
00000980  27 73 20 61 20 42 49 52  44 49 45 22 27 22 31 20  |'s a BIRDIE"'"1 |
00000990  75 6e 64 65 72 20 70 61  72 22 3a e5 8d 44 60 44  |under par":..D`D|
000009a0  0d 04 38 1a f1 22 54 68  61 74 27 73 20 61 20 50  |..8.."That's a P|
000009b0  41 52 22 3a e5 20 8d 44  60 44 0d 04 42 27 f1 22  |AR":. .D`D..B'."|
000009c0  54 68 61 74 27 73 20 42  4f 47 49 45 22 27 22 31  |That's BOGIE"'"1|
000009d0  20 6f 76 65 72 20 70 61  72 22 3a e5 20 8d 44 60  | over par":. .D`|
000009e0  44 0d 04 4c 2e f1 22 54  68 61 74 27 73 20 44 4f  |D..L.."That's DO|
000009f0  55 42 4c 45 5f 42 4f 47  49 45 22 27 22 32 20 6f  |UBLE_BOGIE"'"2 o|
00000a00  76 65 72 20 70 61 72 22  3a e5 20 8d 44 60 44 0d  |ver par":. .D`D.|
00000a10  04 56 2e f1 22 54 68 61  74 27 73 20 54 52 49 50  |.V.."That's TRIP|
00000a20  4c 45 5f 42 4f 47 49 45  22 27 22 33 20 6f 76 65  |LE_BOGIE"'"3 ove|
00000a30  72 20 70 61 72 22 3a e5  20 8d 44 60 44 0d 04 60  |r par":. .D`D..`|
00000a40  09 e5 8d 44 74 44 0d 04  6a 2e f1 22 54 68 61 74  |...DtD..j.."That|
00000a50  20 77 61 73 20 61 20 64  69 73 61 73 74 65 72 22  | was a disaster"|
00000a60  27 22 62 75 74 20 64 6f  6e 27 74 20 67 69 76 65  |'"but don't give|
00000a70  20 75 70 22 0d 04 74 0d  5a 5a 3d a6 28 35 30 30  | up"..t.ZZ=.(500|
00000a80  29 0d 04 7e 05 e1 0d 04  88 0a dd f2 5f 66 69 6e  |)..~........_fin|
00000a90  0d 04 92 0d 64 69 66 66  3d 63 2d 37 32 0d 04 9c  |....diff=c-72...|
00000aa0  11 64 69 66 66 3d 64 69  66 66 20 81 20 32 0d 04  |.diff=diff . 2..|
00000ab0  a6 15 e7 20 64 69 66 66  20 3e 20 34 20 8c 20 8d  |... diff > 4 . .|
00000ac0  44 46 45 0d 04 b0 15 e7  20 64 69 66 66 20 3c 2d  |DFE..... diff <-|
00000ad0  31 20 8c 20 8d 44 5a 45  0d 04 ba 0f 64 69 66 66  |1 . .DZE....diff|
00000ae0  3d 64 69 66 66 2b 32 0d  04 c4 2a ee 20 64 69 66  |=diff+2...*. dif|
00000af0  66 20 e5 20 8d 64 4e 44  2c 8d 64 62 44 2c 8d 64  |f . .dND,.dbD,.d|
00000b00  76 44 2c 8d 54 4a 45 2c  8d 54 5e 45 2c 8d 54 72  |vD,.TJE,.T^E,.Tr|
00000b10  45 0d 04 ce 35 f1 22 47  72 65 61 74 20 72 6f 75  |E...5."Great rou|
00000b20  6e 64 20 6e 65 78 74 20  74 69 6d 65 20 79 6f 75  |nd next time you|
00000b30  20 6d 69 67 68 74 20 67  65 74 20 74 68 65 20 72  | might get the r|
00000b40  65 63 6f 72 64 22 0d 04  d8 05 e1 0d 04 e2 38 f1  |ecord"........8.|
00000b50  22 54 68 61 74 20 77 61  73 20 70 72 65 74 74 79  |"That was pretty|
00000b60  20 67 6f 6f 64 2c 61 20  6e 69 63 65 20 72 6f 75  | good,a nice rou|
00000b70  6e 64 20 62 79 20 61 6e  79 73 74 61 6e 64 61 72  |nd by anystandar|
00000b80  64 73 22 0d 04 ec 05 e1  0d 04 f6 43 f1 22 4e 6f  |ds"........C."No|
00000b90  74 20 62 61 64 20 79 6f  75 20 68 61 76 65 20 74  |t bad you have t|
00000ba0  61 6c 65 6e 74 20 62 75  74 20 73 74 69 6c 6c 20  |alent but still |
00000bb0  68 61 76 65 20 20 73 6f  6d 65 20 74 72 69 63 6b  |have  some trick|
00000bc0  73 20 74 6f 20 6c 65 61  72 6e 22 0d 05 00 05 e1  |s to learn".....|
00000bd0  0d 05 0a 4a f1 22 4c 6f  6f 6b 20 75 70 20 74 68  |...J."Look up th|
00000be0  65 20 63 6c 75 62 20 50  52 4f 20 73 6f 6d 65 20  |e club PRO some |
00000bf0  74 69 6d 65 20 68 65 20  63 61 6e 20 20 20 68 65  |time he can   he|
00000c00  6c 70 20 79 6f 75 20 73  6f 72 74 20 6f 75 74 20  |lp you sort out |
00000c10  79 6f 75 72 20 67 61 6d  65 22 0d 05 14 05 e1 0d  |your game"......|
00000c20  05 1e 4b f1 22 49 27 76  65 20 73 65 65 6e 20 77  |..K."I've seen w|
00000c30  6f 72 73 65 20 72 6f 75  6e 64 73 2c 62 75 74 20  |orse rounds,but |
00000c40  6e 6f 74 20 6f 66 74 65  6e 20 2e 20 20 45 76 65  |not often .  Eve|
00000c50  72 20 63 6f 6e 73 69 64  65 72 65 64 20 54 49 44  |r considered TID|
00000c60  44 4c 59 57 49 4e 4b 53  3f 22 0d 05 28 05 e1 0d  |DLYWINKS?"..(...|
00000c70  05 32 62 f1 22 57 68 65  6e 20 64 69 64 20 79 6f  |.2b."When did yo|
00000c80  75 20 6c 65 61 72 6e 20  74 6f 20 70 6c 61 79 3f  |u learn to play?|
00000c90  49 20 6b 6e 6f 77 20 69  74 20 77 61 73 74 68 69  |I know it wasthi|
00000ca0  73 20 77 65 65 6b 20 62  75 74 20 77 61 73 20 69  |s week but was i|
00000cb0  74 20 59 45 53 54 45 52  44 41 59 20 6f 72 20 74  |t YESTERDAY or t|
00000cc0  68 65 20 20 20 64 61 79  20 62 65 66 6f 72 65 3f  |he   day before?|
00000cd0  22 0d 05 3c 05 e1 0d 05  46 87 f1 22 59 6f 75 20  |"..<....F.."You |
00000ce0  61 72 65 20 61 20 43 4c  4f 44 20 2c 20 61 20 42  |are a CLOD , a B|
00000cf0  55 46 46 4f 4f 4e 21 22  27 22 42 65 66 6f 72 65  |UFFOON!"'"Before|
00000d00  20 79 6f 75 20 64 65 73  70 6f 69 6c 20 74 68 69  | you despoil thi|
00000d10  73 20 63 6f 75 72 73 65  20 61 67 61 69 6e 22 27  |s course again"'|
00000d20  22 69 74 20 69 73 20 72  65 71 75 69 72 65 64 20  |"it is required |
00000d30  74 68 61 74 20 79 6f 75  20 6c 65 61 72 6e 20 74  |that you learn t|
00000d40  6f 20 70 6c 61 79 22 27  22 74 68 65 20 67 61 6d  |o play"'"the gam|
00000d50  65 20 6f 66 20 47 4f 4c  46 21 21 21 22 0d 05 50  |e of GOLF!!!"..P|
00000d60  05 e1 0d 05 5a 4a f1 22  4d 41 47 49 43 21 20 54  |....ZJ."MAGIC! T|
00000d70  68 61 74 27 73 20 61 20  6e 65 77 20 63 6f 75 72  |hat's a new cour|
00000d80  73 65 20 72 65 63 6f 72  64 20 79 6f 75 20 20 20  |se record you   |
00000d90  6f 75 67 68 74 20 74 6f  20 65 6e 74 65 72 20 66  |ought to enter f|
00000da0  6f 72 20 74 68 65 20 4f  50 45 4e 22 0d 05 64 05  |or the OPEN"..d.|
00000db0  e1 0d 05 6e 05 e1 0d 05  78 0c dd f2 5f 47 52 45  |...n....x..._GRE|
00000dc0  45 4e 0d 05 82 1c da 3a  db 3a f1 27 8a 35 29 3b  |EN.....:.:.'.5);|
00000dd0  22 4f 6e 20 74 68 65 20  67 72 65 65 6e 22 0d 05  |"On the green"..|
00000de0  8c 0c ec 39 36 30 2c 36  34 30 0d 05 96 10 e3 64  |...960,640.....d|
00000df0  25 3d 30 b8 33 36 30 88  31 30 0d 05 a0 19 78 3d  |%=0.360.10....x=|
00000e00  36 34 30 2b 33 32 30 2a  9b 28 64 25 2a af 2f 31  |640+320*.(d%*./1|
00000e10  38 30 29 0d 05 aa 19 79  3d 36 34 30 2b 33 32 30  |80)....y=640+320|
00000e20  2a b5 28 64 25 2a af 2f  31 38 30 29 0d 05 b4 08  |*.(d%*./180)....|
00000e30  df 78 2c 79 0d 05 be 05  ed 0d 05 c8 0c ec 36 35  |.x,y..........65|
00000e40  30 2c 36 34 30 0d 05 d2  10 e3 64 25 3d 30 b8 33  |0,640.....d%=0.3|
00000e50  36 30 88 31 30 0d 05 dc  18 78 3d 36 34 30 2b 31  |60.10....x=640+1|
00000e60  30 2a 9b 28 64 25 2a af  2f 31 38 30 29 0d 05 e6  |0*.(d%*./180)...|
00000e70  18 79 3d 36 34 30 2b 31  30 2a b5 28 64 25 2a af  |.y=640+10*.(d%*.|
00000e80  2f 31 38 30 29 0d 05 f0  08 df 78 2c 79 0d 05 fa  |/180).....x,y...|
00000e90  05 ed 0d 06 04 15 ec 36  34 30 2c 36 34 30 2b 44  |.......640,640+D|
00000ea0  2f 32 30 2a 33 32 30 0d  06 0e 05 f5 0d 06 18 18  |/20*320.........|
00000eb0  f0 32 32 2c 36 34 30 2c  36 34 30 2b 44 2f 32 30  |.22,640,640+D/20|
00000ec0  2a 33 32 30 0d 06 22 36  f1 22 59 6f 75 20 61 72  |*320.."6."You ar|
00000ed0  65 20 6e 6f 77 20 22 3b  a8 28 94 28 44 29 2b 2e  |e now ";.(.(D)+.|
00000ee0  35 29 3b 22 20 79 61 72  64 73 22 27 22 66 72 6f  |5);" yards"'"fro|
00000ef0  6d 20 74 68 65 20 70 69  6e 22 0d 06 2c 14 e8 22  |m the pin"..,.."|
00000f00  57 68 61 74 20 20 43 4c  55 42 20 22 2c 43 0d 06  |What  CLUB ",C..|
00000f10  36 26 e7 43 3c 3e 31 39  8c f1 22 42 41 44 20 63  |6&.C<>19.."BAD c|
00000f20  68 6f 69 63 65 20 6f 66  20 63 6c 75 62 22 3a e5  |hoice of club":.|
00000f30  8d 54 6c 46 0d 06 40 14  e8 22 25 61 67 65 20 73  |.TlF..@.."%age s|
00000f40  77 69 6e 67 20 22 2c 42  0d 06 4a 09 68 3d 68 2b  |wing ",B..J.h=h+|
00000f50  31 0d 06 54 16 48 44 3d  34 30 2a 28 42 2b b3 28  |1..T.HD=40*(B+.(|
00000f60  33 29 29 2f 31 30 30 0d  06 5e 1a e7 46 3d 35 8c  |3))/100..^..F=5.|
00000f70  48 44 3d 48 44 2b 32 2a  28 b3 28 31 29 2d 2e 35  |HD=HD+2*(.(1)-.5|
00000f80  29 0d 06 68 10 e7 94 28  44 29 3c 31 8c 8d 74 46  |)..h...(D)<1..tF|
00000f90  46 0d 06 72 1a e7 44 3e  30 20 8c 20 44 3d 44 2d  |F..r..D>0 . D=D-|
00000fa0  48 44 20 8b 20 44 3d 44  2b 48 44 0d 06 7c 26 f1  |HD . D=D+HD..|&.|
00000fb0  22 54 68 61 74 20 77 65  6e 74 20 22 3b a8 28 94  |"That went ";.(.|
00000fc0  28 48 44 29 2b 2e 35 29  3b 22 20 79 61 72 64 73  |(HD)+.5);" yards|
00000fd0  22 0d 06 86 0b fd 94 28  44 29 3c 31 0d 06 90 0c  |"......(D)<1....|
00000fe0  e3 5a 5a 25 3d 31 b8 35  0d 06 9a 0f f0 32 32 2c  |.ZZ%=1.5.....22,|
00000ff0  36 34 30 2c 36 34 30 0d  06 a4 0c 5a 5a 3d a6 28  |640,640....ZZ=.(|
00001000  31 30 29 0d 06 ae 05 ed  0d 06 b8 05 e1 0d 06 c2  |10).............|
00001010  0a dd f2 5f 50 49 43 0d  06 cc 06 ef 35 0d 06 d6  |..._PIC.....5...|
00001020  30 ec 36 34 30 2c 37 36  38 3a df 32 34 30 2c 37  |0.640,768:.240,7|
00001030  36 38 3a df 31 36 30 2c  36 34 30 3a df 32 34 30  |68:.160,640:.240|
00001040  2c 35 31 32 3a df 36 34  30 2c 35 31 32 0d 06 e0  |,512:.640,512...|
00001050  3c e7 50 25 3d 33 8c 20  df 38 38 30 2c 35 31 32  |<.P%=3. .880,512|
00001060  3a df 39 36 30 2c 36 34  30 3a df 38 38 30 2c 37  |:.960,640:.880,7|
00001070  36 38 3a df 36 34 30 2c  37 36 38 3a 48 58 3d 39  |68:.640,768:HX=9|
00001080  30 30 3a 48 59 3d 36 33  30 0d 06 ea 0b 52 56 3d  |00:HY=630....RV=|
00001090  b3 28 33 29 0d 06 f4 4b  e7 50 25 3e 33 80 52 56  |.(3)...K.P%>3.RV|
000010a0  3d 31 8c df 39 36 30 2c  33 38 34 3a df 31 31 32  |=1..960,384:.112|
000010b0  30 2c 35 31 32 3a df 31  31 32 30 2c 36 34 30 3a  |0,512:.1120,640:|
000010c0  df 39 36 30 2c 37 36 38  3a df 36 34 30 2c 37 36  |.960,768:.640,76|
000010d0  38 3a 48 58 3d 39 35 30  3a 48 59 3d 34 35 30 0d  |8:HX=950:HY=450.|
000010e0  06 fe 55 e7 50 25 3e 33  80 52 56 3d 32 8c df 39  |..U.P%>3.RV=2..9|
000010f0  36 30 2c 35 31 32 3a df  31 31 32 30 2c 36 34 30  |60,512:.1120,640|
00001100  3a df 31 31 32 30 2c 37  36 38 3a df 39 36 30 2c  |:.1120,768:.960,|
00001110  38 39 36 3a df 38 30 30  2c 37 39 36 3a df 36 34  |896:.800,796:.64|
00001120  30 2c 37 36 38 3a 48 58  3d 31 30 30 30 3a 48 59  |0,768:HX=1000:HY|
00001130  3d 38 32 30 0d 07 08 44  e7 50 25 3e 33 80 52 56  |=820...D.P%>3.RV|
00001140  3d 33 8c df 31 31 32 30  2c 35 31 32 3a df 31 32  |=3..1120,512:.12|
00001150  30 30 2c 36 34 30 3a df  31 31 32 30 2c 37 36 38  |00,640:.1120,768|
00001160  3a df 36 34 30 2c 37 36  38 3a 48 58 3d 31 31 35  |:.640,768:HX=115|
00001170  30 3a 48 59 3d 36 35 30  0d 07 12 1d ec 48 58 2c  |0:HY=650.....HX,|
00001180  48 59 3a f1 22 4f 22 3a  54 58 3d 31 38 30 3a 54  |HY:."O":TX=180:T|
00001190  59 3d 36 34 30 0d 07 1c  0c e3 46 25 3d 31 b8 31  |Y=640.....F%=1.1|
000011a0  31 0d 07 26 21 ec 31 38  30 2c 36 34 30 3a f0 37  |1..&!.180,640:.7|
000011b0  30 2c 31 38 30 2c 36 34  30 3a 5a 5a 3d a6 28 31  |0,180,640:ZZ=.(1|
000011c0  30 29 0d 07 30 05 ed 0d  07 3a 06 ef 34 0d 07 44  |0)..0....:..4..D|
000011d0  05 e1 0d 07 4e 0d dd f2  5f 48 41 5a 41 52 44 0d  |....N..._HAZARD.|
000011e0  07 58 19 e7 b3 28 32 30  29 3d 32 30 8c 8d 44 62  |.X...(20)=20..Db|
000011f0  47 20 8b 20 8d 74 40 47  0d 07 62 19 db 3a f1 27  |G . .t@G..b..:.'|
00001200  22 4f 75 74 20 6f 66 20  62 6f 75 6e 64 73 20 21  |"Out of bounds !|
00001210  22 0d 07 6c 2b f1 22 64  72 6f 70 20 62 61 6c 6c  |"..l+."drop ball|
00001220  2c 70 65 6e 61 6c 74 79  22 27 22 6f 6e 65 20 73  |,penalty"'"one s|
00001230  74 72 6f 6b 65 22 3a 68  3d 68 2b 31 0d 07 76 09  |troke":h=h+1..v.|
00001240  e5 8d 44 52 48 0d 07 80  10 e7 20 46 3c 33 20 8c  |..DRH..... F<3 .|
00001250  20 8d 64 46 47 0d 07 8a  17 db 3a f1 22 20 20 20  | .dFG.....:."   |
00001260  42 20 55 20 4e 20 4b 20  45 20 52 22 0d 07 94 28  |B U N K E R"...(|
00001270  f1 22 59 6f 75 72 20 62  65 73 74 20 63 68 61 6e  |."Your best chan|
00001280  63 65 20 69 73 22 27 22  79 6f 75 72 20 37 20 69  |ce is"'"your 7 i|
00001290  72 6f 6e 22 0d 07 9e 17  e8 22 25 61 67 65 20 6f  |ron"....."%age o|
000012a0  66 20 73 77 69 6e 67 20  22 2c 42 0d 07 a8 17 e7  |f swing ",B.....|
000012b0  42 3c 30 20 84 20 42 3e  31 30 30 20 8c 20 8d 74  |B<0 . B>100 . .t|
000012c0  5e 47 0d 07 b2 38 e7 b3  28 42 29 3e 37 35 20 8c  |^G...8..(B)>75 .|
000012d0  20 68 61 7a 20 3d b9 3a  db 3a f1 22 46 41 49 4c  | haz =.:.:."FAIL|
000012e0  45 44 20 74 6f 20 67 65  74 20 6f 75 74 22 3a 68  |ED to get out":h|
000012f0  3d 68 2b 31 3a e5 8d 44  52 48 0d 07 bc 43 48 44  |=h+1:..DRH...CHD|
00001300  3d 42 3a 44 3d 44 2d 48  44 3a 68 61 7a 3d a3 3a  |=B:D=D-HD:haz=.:|
00001310  f0 32 32 2c 54 58 2b 28  44 25 2d 44 29 2a 28 48  |.22,TX+(D%-D)*(H|
00001320  58 2d 54 58 29 2f 44 25  2c 54 59 2b 28 44 25 2d  |X-TX)/D%,TY+(D%-|
00001330  44 29 2a 28 48 59 2d 54  59 29 2f 44 25 0d 07 c6  |D)*(HY-TY)/D%...|
00001340  19 db 3a f1 22 49 6e 20  74 68 65 20 52 20 4f 20  |..:."In the R O |
00001350  55 20 47 20 48 22 0d 07  d0 14 e8 22 57 68 69 63  |U G H"....."Whic|
00001360  68 20 63 6c 75 62 20 22  2c 43 0d 07 da 19 e7 43  |h club ",C.....C|
00001370  3c 3e a8 28 43 29 20 84  20 43 3c 30 20 8c 20 8d  |<>.(C) . C<0 . .|
00001380  64 50 47 0d 07 e4 0e e7  43 3e 34 8c 43 3d 43 2d  |dPG.....C>4.C=C-|
00001390  36 0d 07 ee 0e e7 43 3e  31 33 8c 8d 64 50 47 0d  |6.....C>13..dPG.|
000013a0  07 f8 17 e8 22 25 61 67  65 20 6f 66 20 73 77 69  |...."%age of swi|
000013b0  6e 67 20 22 2c 42 0d 08  02 17 e7 42 3c 30 20 84  |ng ",B.....B<0 .|
000013c0  20 42 3e 31 30 30 20 8c  20 8d 64 78 47 0d 08 0c  | B>100 . .dxG...|
000013d0  15 e7 b3 28 42 29 3e 37  35 20 8c 20 68 61 7a 20  |...(B)>75 . haz |
000013e0  3d b9 0d 08 16 2f 48 44  3d 42 2a 28 31 34 2d 43  |=..../HD=B*(14-C|
000013f0  29 2f 31 33 2a 32 2e 38  2a 28 31 30 30 2b 28 33  |)/13*2.8*(100+(3|
00001400  30 2d 48 29 29 2f 28 31  32 35 2b b3 28 33 30 29  |0-H))/(125+.(30)|
00001410  29 0d 08 20 0a 44 3d 44  2d 48 44 0d 08 2a 16 48  |).. .D=D-HD..*.H|
00001420  44 50 3d a8 28 48 44 2a  31 30 2b 2e 35 29 2f 31  |DP=.(HD*10+.5)/1|
00001430  30 0d 08 34 30 f1 22 59  6f 75 20 68 61 76 65 20  |0..40."You have |
00001440  68 69 74 20 74 68 65 22  27 22 62 61 6c 6c 20 22  |hit the"'"ball "|
00001450  3b 48 44 50 3b 22 20 79  61 72 64 73 20 61 6e 64  |;HDP;" yards and|
00001460  22 0d 08 3e 34 f1 22 79  6f 75 20 61 72 65 20 22  |"..>4."you are "|
00001470  3b a8 28 44 2a 31 30 2b  2e 35 29 2f 31 30 3b 22  |;.(D*10+.5)/10;"|
00001480  20 79 61 72 64 73 20 20  66 72 6f 6d 20 74 68 65  | yards  from the|
00001490  20 70 69 6e 22 0d 08 48  31 f0 32 32 2c 54 58 2b  | pin"..H1.22,TX+|
000014a0  28 44 25 2d 44 29 2a 28  48 58 2d 54 58 29 2f 44  |(D%-D)*(HX-TX)/D|
000014b0  25 2c 54 59 2b 28 44 25  2d 44 29 2a 28 48 59 2d  |%,TY+(D%-D)*(HY-|
000014c0  54 59 29 2f 44 25 0d 08  52 05 e1 0d ff           |TY)/D%..R....|
000014cd
GOLF.m0
GOLF.m1
GOLF.m2
GOLF.m4
GOLF.m5