Home » CEEFAX disks » telesoftware3.adl » 23_10_87/SOCCER

23_10_87/SOCCER

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 » CEEFAX disks » telesoftware3.adl
Filename: 23_10_87/SOCCER
Read OK:
File size: 2E9B bytes
Load address: 1900
Exec address: 8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10REM Soccer Manager
   20REM by Patrick Berry
   30REM (c) Micro User
   40MODE 7:VDU23,1;0;0;0;:*FX220
   50ON ERROR MODE7:REPORT:PRINT" at line ";ERL:END
   60PROCda:PROCintro
   70REPEAT tm$(1)=tea$:PROCns
   80FOR lp%=1 TO 2:FOR wk%=2 TO 16
   90PROCwk:PROCmu
  100IF wk%=4 OR wk%=10 OR wk%=15 OR wk%*lp%=16 PROCfa:tm$=tm$(wk%+((Di%-1)*15))
  110PROCop
  120PROCsl:PROCsc
  130X%=0:PROCdi:IF X%=1 GOTO120
  140PROChf:PROCwo:PROCrt:PROCtb:PROCew
  150NEXT:NEXT:PROCes:UNTIL FALSE
  160DEFPROCintro:CLS
  170PRINT CHR$141CHR$129SPC9"Soccer  Manager"
  180PRINT CHR$141CHR$129SPC9"Soccer  Manager"
  190VDU 28,0,24,39,3
  200REPEAT:INPUT''"What is your name",mn$:UNTIL LEN(mn$)>0 AND LEN(mn$)<16
  210REPEAT:INPUT''"Enter your team's name",tea$:UNTIL LEN(tea$)>0 AND LEN(tea$)<14
  220FOR X%=1 TO 60
  230IF tea$=tm$(X%) tm$(X%)="Brighton"
  240NEXT:ENDPROC
  250DEFPROCsa
  260REPEAT:INPUT"Name of file",file$:UNTIL LEN file$>0 AND LEN file$<8
  270X=OPENOUT(file$)
  280PRINT#X,tea$,wk%,Di%,lp%,rn%,co
  290FOR X%=1 TO 16
  300PRINT#X,P(X%),A(X%),F(X%),P1(X%),X(X%)
  310NEXT
  320PRINT#X,ln%,wl%
  330FOR X%=1 TO 61
  340PRINT#X,tm$(X%)
  350NEXT
  360FOR X%=1 TO 50
  370PRINT#X,pl$(X%),ps(X%),pp(X%),M(X%),S(X%)
  380NEXT
  390PRINT#X,ml%,rt%,ca%,sk%,mn$
  400CLOSE# X
  410ENDPROC
  420DEFPROCld
  430REPEAT:INPUT"Name of file",file$:UNTIL LEN(file$)>0 AND LEN(file$)<8
  440X=OPENIN(file$)
  450INPUT#X,tea$,wk%,Di%,lp%,rn%,co
  460FOR X%=1 TO 16
  470INPUT#X,P(X%),A(X%),F(X%),P1(X%),X(X%)
  480NEXT
  490INPUT#X,ln%,wl%
  500FOR X%=1 TO 61
  510INPUT#X,tm$(X%)
  520NEXT
  530FOR X%=1 TO 50
  540INPUT#X,pl$(X%),ps(X%),pp(X%),M(X%),S(X%)
  550NEXT
  560INPUT#X,ml%,rt%,ca%,sk%,mn$
  570CLOSE# X
  580PROCwk
  590ENDPROC
  600DEFPROCsq
  610ns%=0:FOR X%=1 TO 50:IF S(X%)=1 OR S(X%)=2 OR S(X%)=3 ns%=ns%+1
  620NEXT
  630ENDPROC
  640DEFPROCwalkout:C%=0:FOR X%=1 TO 50
  650IF S(X%)=1 IF RND(rt%)<15 IF RND(15)=1 PRINTCHR$134pl$(X%)" has walked out.":S(X%)=0:C%=C%+1
  660NEXT:IF C%>0 PROCpr
  670ENDPROC
  680DEFPROCew:wa=0:CLS
  690PRINT CHR$(130);" END OF WEEK"
  700re=(20-P(1))*1000*(7-Di%)
  710re=re+RND(10000)-RND(10000):IF re<100 re=100
  720IF ven=1 PRINT CHR$129"Gate receipts=`";re:ca%=ca%+re
  730IF ven<>1 PRINT"Playing away from home.":re=0
  740wa=0:wa=ns%*400:wa=wa*(5-Di%)
  750PRINTCHR$132"Wages=`";wa:ca%=ca%-wa
  760expense=RND(100)+100:PRINTCHR$129"Expenses=`";expense
  770PRINT "Balance=`";re-(wa+expense)
  780PROCpr:co=co+1:ENDPROC
  790DEFPROCbr:CLS
  800PRINT"Due to your excessive spending the"'"banks will not pay your bills and so"'"the club has to close.":PROCpr
  810DEFPROCfa
  820IF rn%=0 OR rn%=9 ENDPROC
  830CLS
  840IF rn%=7 PRINT CHR$129"The FA Cup Final"
  850IF rn%=6 PRINT CHR$129"The FA Cup Semi Final"
  860PRINT"FA Cup round ";rn%
  870PROCpr:Z=sk%:sk%=0+(rn%*2)
  880tm$=tm$(60-(rn%*8)+RND(3)-RND(3))
  890PROCop
  900PROCsl:PROCsc
  910X%=0:PROCdi:IF X%=1 GOTO900
  920PROChf:CLS:sk%=Z
  930PRINT"Full time result-"
  940PRINTtm$(1)SPC1;gl%SPC5tm$SPC1;og%
  950IF rn%=7 AND gl%>og%  PRINT "YOU HAVE WON THE FA CUP":ca%=ca%+200000:rn%=8
  960IF gl%>og% AND rn%<>7 rn%=rn%+1:PRINT CHR$(131);"You are through to the next round"
  970IF og%>gl% rn%=0:PRINT CHR$(132);"You are out of the FA Cup"
  980IF gl%=og% PRINT "There is a replay hit a key to continue":A$=GET$:GOTO900
  990PROCpr:PROCew:PROCmu
 1000IF rn%=8 rn%=0
 1010ENDPROC
 1020DEFPROCmu:CLS:*FX15
 1030PROCsq
 1040RESTORE 3610
 1050FOR Z%=1 TO 9:READ opt$
 1060PRINTCHR$141CHR$130"(";Z%") "opt$
 1070PRINTCHR$141CHR$134"(";Z%") "opt$
 1080NEXT:PRINT
 1090REPEAT Z$=GET$:UNTIL INSTR("123456789",Z$)>0
 1100IF Z$="1" PROCsp
 1110IF Z$="2" PROCsa
 1120IF Z$="3" wk%=wk%-1:PROCtb:wk%=wk%+1
 1130IF Z$="4" PROCln
 1140IF Z$="5" PROCsk
 1150IF Z$="6" PROCst
 1160IF Z$="7" PROCtr
 1170IF Z$="8" PROCld
 1180IF Z$="9" ENDPROC
 1190CLS:GOTO1040
 1200DEFPROCrt:CLS
 1210FOR X%=1 TO 16:P(X%)=0:X(X%)=0:NEXT
 1220X(1)=1:X(wk%)=1
 1230FOR X%=1 TO 7
 1240REPEATx%=RND(16):UNTIL X(x%)=0
 1250REPEATy%=RND(16):UNTIL X(y%)=0 AND x%<>y%
 1260X(x%)=1:X(y%)=1
 1270GX%=RND(7-P(x%)):GX%=GX%-RND(7-P(y%)):IF GX%<0 GX%=0:IF GX%=0 AND RND(5)=1 GX%=1
 1280GY%=RND(10-P(y%)):GY%=GY%-RND(7-P(x%)):IF GY%<0 GY%=0:IF GY%=0 AND RND(3)=1 GY%=1
 1290IF RND(10)>8 GX%=RND(6)-1
 1300IF RND(10)>6 GY%=RND(6)-1
 1310PRINT CHR$129tm$(x%+((Di%-1)*15))TAB(18);GX%TAB(22)tm$(y%+(Di%-1)*15)TAB(38);GY%
 1320IF GX%>GY% P1(x%)=P1(x%)+3
 1330IF GY%>GX% P1(y%)=P1(y%)+3
 1340IF GY%=GX% P1(y%)=P1(y%)+1
 1350IF GY%=GX% P1(x%)=P1(x%)+1
 1360F(x%)=F(x%)+GX%:A(x%)=A(x%)+GY%
 1370F(y%)=F(y%)+GY%:A(y%)=A(y%)+GX%
 1380NEXT:PROCpr:ENDPROC
 1390DEFPROCsl
 1400REPEAT CLS:PROClp:PROCpicked
 1410PRINT "P-Pick player  R-Remove player  E-Exit"
 1420PRINT'SPC5CHR$130;picked" players picked"'
 1430REPEAT A$=CHR$(GETAND&5F):UNTIL INSTR("PRE",A$)>0
 1440IF A$="P" INPUT"Player number",X%:X%=(X%-1) MOD 50+1:IF S(X%)=2 OR S(X%)=5 S(X%)=1
 1450IF A$="R" INPUT"Player number",X%:X%=(X%-1) MOD 50+1:IF S(X%)=1 S(X%)=2
 1460UNTIL A$="E":ENDPROC
 1470DEFPROCpicked:picked=0
 1480FOR X%=1 TO 50:picked=picked-(S(X%)=1):NEXT:ENDPROC
 1490DEFPROCop:gr%=RND(5)
 1500oa%=sk%+(15-P(wk%)/2)+RND(5)-8
 1510od%=sk%+(15-P(wk%)/2)+RND(5)-8
 1520om%=sk%+(15-P(wk%)/2)+RND(5)-8
 1530ENDPROC
 1540DEFPROCsc:df%=0:md%=0:at%=0
 1550FOR X%=1 TO 16:IF S(X%)=1 df%=df%+(ps(X%)*M(X%)/100)
 1560NEXT
 1570FOR X%=17 TO 34:IF S(X%)=1 md%=md%+(ps(X%)*M(X%)/100)
 1580NEXT
 1590FOR X%=35 TO 50:IF S(X%)=1 at%=at%+(ps(X%)*M(X%)/100)
 1600NEXT
 1610at%=at%+gr%-1:oa%=oa%+gr%-1
 1620IF gr%=2 at%=at%-3:ottack%=ottack%-3
 1630at%=at%+ml%/4:df%=df%+ml%/4
 1640md%=md%+ml%/4:ENDPROC
 1650DEFPROCdi:CLS
 1660IFat%>20at%=20 ELSEIFat%<2at%=2
 1670IFmd%>20md%=20 ELSEIFmd%<2md%=2
 1680IFdf%>20df%=20 ELSEIFdf%<2df%=2
 1690IFoa%>20oa%=20 ELSEIFoa%<2oa%=2
 1700IFom%>20om%=20 ELSEIFom%<2om%=2
 1710IFod%>20od%=20 ELSEIFod%<2od%=2
 1720PRINTTAB(10)tm$(1)TAB(25)tm$'
 1730PRINTCHR$131"Attack",at%oa%
 1740PRINTCHR$130"Midfield",md%om%
 1750PRINTCHR$131"Defence",df%od%
 1760PRINT CHR$(130);"Ground=";
 1770IF gr%=1 PRINT"Firm"
 1780IF gr%=2 PRINT"Boggy"
 1790IF gr%=3 PRINT"Frosty"
 1800IF gr%=4 PRINT"Icy"
 1810IF gr%=5 PRINT"Snowy"
 1820IF co MOD 2=0 ven=1 ELSE ven=0
 1830IF ven=1 PRINTCHR$131"You are playing at home" ELSE PRINTCHR$131"You are playing away"
 1840PRINT''CHR$132"Press P to play match or S to pick team"
 1850REPEAT Y$=CHR$(GETAND&5F):UNTIL INSTR("PS",Y$)
 1860IF Y$="S" GOTO1890
 1870IF picked>11 Y$="S":PRINT"Try 11 or less players now":PROCpr
 1880IF picked<11 PRINTCHR$135"You have to field some inexperienced"'CHR$135"reserves to make up numbers.":ml%=ml%-4:IF ml%<0 ml%=0
 1890IF Y$="S" X%=1
 1900ENDPROC
 1910DEFPROCln:CLS:ca%=ca%-ln%
 1920INPUT'"How big a loan do you want",loa%
 1930IF loa%>((5-Di%)*100000) PRINTCHR$130"The bank will only lend up to `";(5-Di%)*100000'CHR$130" to a team in division ";Di%".":GOTO1960
 1940IF loa%<0 PRINTCHR$130"That's silly.":GOTO1960
 1950ln%=loa%:wl%=ln%*0.02:ca%=ca%+ln%
 1960PROCpr:ENDPROC
 1970DEFPROCtr
 1980IF ns%=18 PRINT''CHR$133"Your squad is full":PROCpr:ENDPROC
 1990CLS:PRINT"Name"SPC9"Skill"SPC6"Price"
 2000FOR X%=1 TO 50
 2010IFX%=1 PRINTCHR$129SPC11"DEFENSE"
 2020IFX%=17PRINTCHR$130SPC11"MIDFIELD"
 2030IFX%=35PRINTCHR$131SPC12"ATTACK"
 2040IF S(X%)=4 PRINTCHR$130;X%CHR$129TAB(5)pl$(X%)TAB(15)CHR$131;ps(X%)CHR$132TAB(25)"`";pp(X%)
 2050NEXT
 2060PRINT'CHR$132"Type players number you wish to buy or"'CHR$132" 0 to leave transfer market"
 2070REPEATINPUTX%:UNTILX%>-1ANDX%<51
 2080IF X%=0 ENDPROC
 2090IF S(X%)<>4 PRINTCHR$130pl$(X%)" is not for sale":PROCpr:ENDPROC
 2100INPUT"What will you offer",offer
 2110IF offer<pp(X%)+RND(10000)-RND(10000) PRINTCHR$129"Your offer of ";offer" for "pl$(X%)'CHR$129" has been rejected.":pp(X%)=pp(X%)+10000:PROCpr:GOTO1990
 2120IF offer>ca%+ln% PRINTCHR$130"You don't have enough money":PROCpr:GOTO1990
 2130ca%=ca%-offer:PRINTCHR$129pl$(X%)" has now joined your squad"
 2140S(X%)=2:PROCpr:ENDPROC
 2150DEFPROCwk:PRINT'CHR$129CHR$136"Please wait a moment...";
 2160tm$=tm$(wk%+((Di%-1)*15))
 2170IF rt%>100 rt%=100
 2180IF rt%<0 rt%=0
 2190ca%=ca%-wl%*1.2:ln%=ln%-wl%
 2200IF ml%<4 PROCwalkout
 2210IF ca%-ln%<-500000 PROCbr
 2220IF ml%<4 IF RND(rt%)<5 PROCsack
 2230FOR X%=1 TO 50:IF S(X%)=4 S(X%)=0
 2240M(X%)=M(X%)+RND(10)-RND(10):Y%=ps(X%)*M(X%)/60
 2250pp(X%)=Y%*50000*(5-Di%)+RND(10000)-RND(10000)
 2260IF ps(X%)>5 ps(X%)=5
 2270IF RND(40)=1 AND S(X%)=1 S(X%)=3
 2280IF M(X%)<0 M(X%)=10
 2290IF M(X%)>150 M(X%)=150
 2300IF pp(X%)<4000 pp(X%)=10000
 2310NEXT
 2320FOR X%=1 TO RND(10)
 2330REPEATY%=RND(50):UNTIL S(Y%)=0 OR S(Y%)=4
 2340S(Y%)=4:NEXT:FOR X%=1 TO 50
 2350IF S(X%)=3 M(X%)=M(X%)-5:IF RND(5)=1 S(X%)=2
 2360NEXT
 2370ENDPROC
 2380DEF PROCsack:CLS
 2390PRINTCHR$131"Your job is in danger due to your lack"'CHR$131"of success, the Chairman calls you in:"
 2400X%=RND(rt%):FOR Z=1 TO 1000:NEXT
 2410IF X%<>1 PRINTCHR$130SPC6"And he tells you to improve!":PROCpr:ENDPROC
 2420PRINTCHR$129SPC10"And he sacks you!":PROCpr:RUN
 2430DEFPROCsp:REPEAT CLS:PROClp
 2440PRINTCHR$129"Type player number to be sold"'CHR$129" or Return to continue"
 2450REPEATINPUTX%:UNTILX%>-1ANDX%<51
 2460IF X%=0 THEN 2510
 2470IF S(X%)=0 OR S(X%)=4 PRINTCHR$129"You do not have "pl$(X%):PROCpr:GOTO2510
 2480offer=pp(X%)+RND(10000)-RND(10000):PRINTtm$(RND(60)+1)" have offered `";offer
 2490PRINTCHR$129"Do you accept this(Y/N)":A$=CHR$(GETAND&5F):IF A$<>"Y" pp(X%)=pp(X%)-10000:GOTO2510
 2500S(X%)=0:ca%=ca%+offer
 2510UNTIL X%=0:ENDPROC
 2520DEFPROCes:CLS:FOR X%=2 TO 16
 2530IF P(X%)<3 AND Di%<>1 PRINTtm$(X%+(Di%-1)*15)" are promoted":Y%=RND(16):tm$=tm$(X%+(Di%-1)*15):tm$(X%+(Di%-1)*15)=tm$(Y%+(Di%-2)*15):tm$(Y%+(Di%-2)*15)=tm$
 2540NEXT:FOR X%=2 TO 16
 2550IF P(X%)>14 AND Di%<>4 PRINTtm$(X%+(Di%-1)*15)" are relegated":Y%=RND(16):tm$=tm$(X%+(Di%-1)*15):tm$(X%+(Di%-1)*15)=tm$(Y%+(Di%)*15):tm$(Y%+(Di%)*15)=tm$
 2560NEXT
 2570IF P(1)>14 AND Di%<>4 PRINT"You are relegated to Division ";Di%+1:Di%=Di%+1
 2580IF P(1)<3 AND Di%<>1 PRINT"You are promoted to Division ";Di%-1
 2590IF P(1)<3 ca%=ca%+100000*(5-Di%):IF Di%<>1 Di%=Di%-1
 2600rt%=rt%+8-P(1):IF rt%>100 rt%=100
 2610IF rt%<0 rt%=0
 2620yr%=yr%+1:PROCpr:ENDPROC
 2630DEFPROChf
 2640ch%=RND(md%)-RND(om%*2):IF ch%<1 ch%=RND(3)
 2650oc%=RND(om%)-RND(md%*2):IF oc%<1 oc%=RND(3)
 2660gl%=RND(at%)-RND(od%):IF gl%>ch% gl%=ch%
 2670og%=RND(oa%)-RND(df%):IF og%>oc% og%=oc%
 2680IF gl%<0 gl%=0
 2690IF og%<0 og%=0
 2700ENDPROC
 2710DEFPROCwo
 2720IF gl%>og% P1(1)=P1(1)+3:ml%=ml%+2:rt%=rt%+3:IF ml%>20 ml%=20
 2730IF og%>gl% P1(wk%)=P1(wk%)+3:ml%=ml%-1:rt%=rt%-2
 2740IF gl%=og% ml%=ml%-1:rt%=rt%+1:P1(wk%)=P1(wk%)+1:P1(1)=P1(1)+1
 2750F(1)=F(1)+gl%:A(1)=A(1)+og%
 2760F(wk%)=F(wk%)+og%:A(wk%)=A(wk%)+gl%
 2770IFml%<0ml%=0 ELSEIFml%>20ml%=20
 2780IFrt%<0rt%=0 ELSEIFrt%>100rt%=100
 2790PRINT'CHR$129"The final score is:"
 2800PRINT'CHR$131tm$(1)SPC1;gl%TAB(20)tm$SPC1;og%:PROCpr:ENDPROC
 2810DEFPROCsk:CLS:RESTORE 3600
 2820FOR Z%=0 TO 9:READ sk$
 2830PRINTSPC3CHR$141CHR$135;Z%SPC2sk$
 2840PRINTSPC3CHR$141CHR$134;Z%SPC2sk$
 2850NEXT:PRINT'TAB(6)CHR$130"What skill?";
 2860REPEAT A$=GET$:UNTILINSTR("0123456789",A$):PRINTA$;
 2870sk%=VALA$:ENDPROC
 2880DEFPROCst:CLS
 2890PRINTCHR$130"Team picked:"tm$(1)
 2900PRINTCHR$130"Manager    :"mn$
 2910PRINTCHR$130"Rating     :";rt%TAB(17)rt$(rt%DIV10)
 2920PRINT'CHR$129"Cash=`";ca%
 2930PRINTCHR$129"Loan=`";ln%
 2940PRINT'CHR$131"Team morale=";ml%
 2950PRINTCHR$131"Skill level=";sk%
 2960PRINT'CHR$134"Division=";Di%
 2970PRINTCHR$134"Position in league=";P(1)
 2980PRINTCHR$134"Number of players in squad=";ns%
 2990PRINT'CHR$133"Year=";yr%
 3000PRINTCHR$133"Week=";
 3010IF lp%=1 PRINT ;wk%-1 ELSE PRINT ;wk%-1+15
 3020PROCpr:ENDPROC
 3030DEFPROCtb:CLS
 3040PRINTTAB(8)"Team"TAB(25)"F"TAB(30)"A"TAB(35)"Pts"
 3050FOR Y%=1 TO 16:P(Y%)=0:NEXT:B%=1
 3060FOR Y%=1 TO 16:FOR X%=1 TO 16
 3070IF P1(X%)>P1(B%) OR P1(X%)=P1(B%) AND (F(X%)-A(X%)+A(B%)-F(B%)>0) THEN:IF P(X%)=0 B%=X%
 3080NEXT:PRINTCHR$132;Y%TAB(4)CHR$129;
 3090IF B%=1 PRINTTAB(5)CHR$133tm$(1); ELSE PRINTTAB(6)tm$(B%+((Di%-1)*15));
 3100PRINT ;CHR$130TAB(25);F(B%)TAB(30);A(B%)TAB(35)CHR$131;P1(B%)
 3110P(B%)=Y%:B%=0:NEXT
 3120PRINT"You are in position ";P(1)" after ";:IF lp%=2 PRINT ;15+wk%-1; ELSE PRINT ;wk%-1;
 3130PRINT " games":PROCpr:ENDPROC
 3140DEFPROCda:Z%=RND(-TIME)
 3150DIM rt$(10),tm$(61),pl$(50),ps(50),pp(60),P1(16),X(16),P(16),F(16),A(16),M(50),S(50)
 3160Di%=4:P1(0)=-10:ca%=400000:rn%=1
 3170ln%=0:wl%=0:rt%=20:sk%=6:yr%=1
 3180ml%=15:ns%=15
 3190RESTORE 3590
 3200FOR X%=0 TO 10
 3210READ rt$(X%):NEXT
 3220RESTORE 3520:FOR X%=2 TO 61
 3230READ tm$(X%):NEXT
 3240RESTORE 3560:FOR X%=1 TO 50
 3250READ pl$(X%):ps(X%)=RND(5)
 3260M(X%)=RND(10)+90:NEXT
 3270FOR X%=1 TO 15:REPEAT
 3280Y%=RND(50):UNTIL S(Y%)=0
 3290S(Y%)=1:NEXT:S(Y%)=2
 3300FORX%=1TO16:P(X%)=X%:NEXT:ENDPROC
 3310DEFPROClp:CLS
 3320PRINT'"Num Name"SPC6"Skill Form  State  Price"
 3330FOR X%=1 TO 50
 3340IF S(X%)=0 OR S(X%)=4 GOTO3390
 3350IF X%<17 VDU129 ELSEIF X%<35 VDU130 ELSE VDU131
 3360PRINTSPC1;X%TAB(4)pl$(X%)TAB(18);ps(X%)TAB(21);M(X%);
 3370IF S(X%)=1 Z$="P" ELSEIF S(X%)=2 Z$=" " ELSE Z$="I"
 3380PRINTTAB(26)Z$CHR$133" `";pp(X%)
 3390NEXT:ENDPROC
 3400DEFPROCns:CLS
 3410PRINT''CHR$129SPC12"NEW SEASON"
 3420FOR X%=1 TO 50
 3430ps(X%)=ps(X%)+RND(2)-RND(2):IF ps(X%)<=0 ps(X%)=1
 3440IF ps(X%)>5 ps(X%)=5
 3450M(X%)=RND(50)+50
 3460IF S(X%)=3 S(X%)=2
 3470pp(X%)=ps(X%)*50000*(5-Di%):NEXT
 3480FOR X%=1 TO 16:A(X%)=0:F(X%)=0:P1(X%)=0:NEXT
 3490co=1:rn%=1:ENDPROC
 3500DEFPROCpr:*FX21
 3510PRINT'CHR$130SPC(5)"Press any key to continue":A$=GET$:ENDPROC
 3520DATA Arsenal,Everton,Tottenham,Man Utd,Southampton,Chelsea,Liverpool,Notts Forest,Newcastle,QPR,Watford,Leicester,Ipswich,Coventry,Oxford
 3530DATA Stoke,Blackburn,Barnsley,Portsmouth,Birmingham,Leeds Utd,Man City,Carlisle,Wimbledon,Charlton,Oldham,Sheffield Utd,Crystal Palace,Cardiff City,Notts County
 3540DATA Bradford,Millwall,Rotherham Utd,Hull City,Bristol Rovers,Derby County,Bournemouth,Walsall,Brentford,Reading,Newport,Burnley,Plymouth,Orient,Cambridge
 3550DATA Chesterfield,Bury,Darlington,Blackpool,Peterborough,Colchester,Tranmere,Port Vale,Swindon,Southend,Mansfield,Stockport,Exeter,Chester,Wrexham,???
 3560DATA J.Lukic,R.Clemence,B.Grobbelaar,P.Shilton,T.Butcher,V.Anderson,D.O'Leary,M.Lawrenson,T.Fenwick,A.Peak,G.Roberts,A.Martin,T.Cotton,S.Walford,K.Samson,T.Adams
 3570DATA G.Rix,B.Robson,G.Hoddle,K.Dalglish,P.Davis,S.Robson,P.Reid,R.Whelen,J.Wark,J.Barnes,T.Galvin,G.Mabbut,S.Nicol,S.Lee,P.Nevin,S.Williams,G.Stracken,J.Olsen
 3580DATA T.Woodcock,I.Alison,C.Nicholas,P.Beardsly,I.Rush,S.Stainrod,D.Speedy,T.Galvin,P.Walsh,A.Gray,F.Stapleton,M.Hately,G.Linerker,L.Blissett,K.Dixon,C.Waddle
 3590DATA Appalling,Complete failure,Lucky to have the job,Very bad,Bad,Poor,Average,Quite Good,Very Good,Excellent,Move over Bobby
 3600DATA Simple,Easy,Quite easy,Below average,Average,Above average,Good,Excellent,Brilliant,Mega good
 3610DATA List or sell players,Save game,Print league table,Obtain a bank loan,Change skill level,Print status,Transfer Market,Load new game,Continue game

� Soccer Manager
� by Patrick Berry
� (c) Micro User
(� 7:�23,1;0;0;0;:*FX220
2� � �7:�:�" at line ";�:�
<�da:�intro
F� tm$(1)=tea$:�ns
P� lp%=1 � 2:� wk%=2 � 16
Z�wk:�mu
dH� wk%=4 � wk%=10 � wk%=15 � wk%*lp%=16 �fa:tm$=tm$(wk%+((Di%-1)*15))
n�op
x�sl:�sc
�X%=0:�di:� X%=1 �Dx@
��hf:�wo:�rt:�tb:�ew
��:�:�es:� �
�
��intro:�
�!� �141�129�9"Soccer  Manager"
�!� �141�129�9"Soccer  Manager"
�� 28,0,24,39,3
�7�:�''"What is your name",mn$:� �(mn$)>0 � �(mn$)<16
�?�:�''"Enter your team's name",tea$:� �(tea$)>0 � �(tea$)<14
�� X%=1 � 60
�%� tea$=tm$(X%) tm$(X%)="Brighton"
��:�
���sa
3�:�"Name of file",file$:� � file$>0 � � file$<8
X=�(file$)
�#X,tea$,wk%,Di%,lp%,rn%,co
"� X%=1 � 16
,&�#X,P(X%),A(X%),F(X%),P1(X%),X(X%)
6�
@�#X,ln%,wl%
J� X%=1 � 61
T�#X,tm$(X%)
^�
h� X%=1 � 50
r)�#X,pl$(X%),ps(X%),pp(X%),M(X%),S(X%)
|�
��#X,ml%,rt%,ca%,sk%,mn$
��# X
��
���ld
�5�:�"Name of file",file$:� �(file$)>0 � �(file$)<8
�X=�(file$)
��#X,tea$,wk%,Di%,lp%,rn%,co
�� X%=1 � 16
�&�#X,P(X%),A(X%),F(X%),P1(X%),X(X%)
��
��#X,ln%,wl%
�� X%=1 � 61
��#X,tm$(X%)
�
� X%=1 � 50
)�#X,pl$(X%),ps(X%),pp(X%),M(X%),S(X%)
&�
0�#X,ml%,rt%,ca%,sk%,mn$
:�# X
D�wk
N�
X��sq
b=ns%=0:� X%=1 � 50:� S(X%)=1 � S(X%)=2 � S(X%)=3 ns%=ns%+1
l�
v�
���walkout:C%=0:� X%=1 � 50
�R� S(X%)=1 � �(rt%)<15 � �(15)=1 �134pl$(X%)" has walked out.":S(X%)=0:C%=C%+1
��:� C%>0 �pr
��
���ew:wa=0:�
�� �(130);" END OF WEEK"
�re=(20-P(1))*1000*(7-Di%)
�+re=re+�(10000)-�(10000):� re<100 re=100
�1� ven=1 � �129"Gate receipts=`";re:ca%=ca%+re
�,� ven<>1 �"Playing away from home.":re=0
�!wa=0:wa=ns%*400:wa=wa*(5-Di%)
� �132"Wages=`";wa:ca%=ca%-wa
�0expense=�(100)+100:�129"Expenses=`";expense
!� "Balance=`";re-(wa+expense)
�pr:co=co+1:�

��br:�
 m�"Due to your excessive spending the"'"banks will not pay your bills and so"'"the club has to close.":�pr
*��fa
4� rn%=0 � rn%=9 �
>�
H$� rn%=7 � �129"The FA Cup Final"
R)� rn%=6 � �129"The FA Cup Semi Final"
\�"FA Cup round ";rn%
f�pr:Z=sk%:sk%=0+(rn%*2)
p!tm$=tm$(60-(rn%*8)+�(3)-�(3))
z�op
��sl:�sc
�X%=0:�di:� X%=1 �tDC
��hf:�:sk%=Z
��"Full time result-"
��tm$(1)�1;gl%�5tm$�1;og%
�G� rn%=7 � gl%>og%  � "YOU HAVE WON THE FA CUP":ca%=ca%+200000:rn%=8
�M� gl%>og% � rn%<>7 rn%=rn%+1:� �(131);"You are through to the next round"
�8� og%>gl% rn%=0:� �(132);"You are out of the FA Cup"
�D� gl%=og% � "There is a replay hit a key to continue":A$=�:�tDC
��pr:�ew:�mu
�� rn%=8 rn%=0
��
���mu:�:*FX15
�sq

� �TZN
� Z%=1 � 9:� opt$
$�141�130"(";Z%") "opt$
.�141�134"(";Z%") "opt$
8�:�
B� Z$=�:� �"123456789",Z$)>0
L� Z$="1" �sp
V� Z$="2" �sa
`$� Z$="3" wk%=wk%-1:�tb:wk%=wk%+1
j� Z$="4" �ln
t� Z$="5" �sk
~� Z$="6" �st
�� Z$="7" �tr
�� Z$="8" �ld
�� Z$="9" �
��:�TPD
�
��rt:�
�!� X%=1 � 16:P(X%)=0:X(X%)=0:�
�X(1)=1:X(wk%)=1
�� X%=1 � 7
��x%=�(16):� X(x%)=0
� �y%=�(16):� X(y%)=0 � x%<>y%
�X(x%)=1:X(y%)=1
�JGX%=�(7-P(x%)):GX%=GX%-�(7-P(y%)):� GX%<0 GX%=0:� GX%=0 � �(5)=1 GX%=1
KGY%=�(10-P(y%)):GY%=GY%-�(7-P(x%)):� GY%<0 GY%=0:� GY%=0 � �(3)=1 GY%=1

� �(10)>8 GX%=�(6)-1
� �(10)>6 GY%=�(6)-1
D� �129tm$(x%+((Di%-1)*15))�18);GX%�22)tm$(y%+(Di%-1)*15)�38);GY%
(� GX%>GY% P1(x%)=P1(x%)+3
2� GY%>GX% P1(y%)=P1(y%)+3
<� GY%=GX% P1(y%)=P1(y%)+1
F� GY%=GX% P1(x%)=P1(x%)+1
P#F(x%)=F(x%)+GX%:A(x%)=A(x%)+GY%
Z#F(y%)=F(y%)+GY%:A(y%)=A(y%)+GX%
d�:�pr:�
n��sl
x� �:�lp:�picked
�.� "P-Pick player  R-Remove player  E-Exit"
�%�'�5�130;picked" players picked"'
� � A$=�(��&5F):� �"PRE",A$)>0
�M� A$="P" �"Player number",X%:X%=(X%-1) � 50+1:� S(X%)=2 � S(X%)=5 S(X%)=1
�C� A$="R" �"Player number",X%:X%=(X%-1) � 50+1:� S(X%)=1 S(X%)=2
�� A$="E":�
���picked:picked=0
�+� X%=1 � 50:picked=picked-(S(X%)=1):�:�
���op:gr%=�(5)
� oa%=sk%+(15-P(wk%)/2)+�(5)-8
� od%=sk%+(15-P(wk%)/2)+�(5)-8
� om%=sk%+(15-P(wk%)/2)+�(5)-8
��
��sc:df%=0:md%=0:at%=0
4� X%=1 � 16:� S(X%)=1 df%=df%+(ps(X%)*M(X%)/100)
�
"5� X%=17 � 34:� S(X%)=1 md%=md%+(ps(X%)*M(X%)/100)
,�
65� X%=35 � 50:� S(X%)=1 at%=at%+(ps(X%)*M(X%)/100)
@�
Jat%=at%+gr%-1:oa%=oa%+gr%-1
T'� gr%=2 at%=at%-3:ottack%=ottack%-3
^at%=at%+ml%/4:df%=df%+ml%/4
hmd%=md%+ml%/4:�
r
��di:�
|�at%>20at%=20 ��at%<2at%=2
��md%>20md%=20 ��md%<2md%=2
��df%>20df%=20 ��df%<2df%=2
��oa%>20oa%=20 ��oa%<2oa%=2
��om%>20om%=20 ��om%<2om%=2
��od%>20od%=20 ��od%<2od%=2
��10)tm$(1)�25)tm$'
��131"Attack",at%oa%
��130"Midfield",md%om%
��131"Defence",df%od%
�� �(130);"Ground=";
�� gr%=1 �"Firm"
�� gr%=2 �"Boggy"
�� gr%=3 �"Frosty"
� gr%=4 �"Icy"
� gr%=5 �"Snowy"
� co � 2=0 ven=1 � ven=0
&H� ven=1 �131"You are playing at home" � �131"You are playing away"
04�''�132"Press P to play match or S to pick team"
:� Y$=�(��&5F):� �"PS",Y$)
D� Y$="S" �DbG
N8� picked>11 Y$="S":�"Try 11 or less players now":�pr
Xv� picked<11 �135"You have to field some inexperienced"'�135"reserves to make up numbers.":ml%=ml%-4:� ml%<0 ml%=0
b� Y$="S" X%=1
l�
v��ln:�:ca%=ca%-ln%
�'�'"How big a loan do you want",loa%
�|� loa%>((5-Di%)*100000) �130"The bank will only lend up to `";(5-Di%)*100000'�130" to a team in division ";Di%".":�thG
�'� loa%<0 �130"That's silly.":�thG
�%ln%=loa%:wl%=ln%*0.02:ca%=ca%+ln%
�	�pr:�
���tr
�.� ns%=18 �''�133"Your squad is full":�pr:�
��:�"Name"�9"Skill"�6"Price"
�� X%=1 � 50
��X%=1 �129�11"DEFENSE"
��X%=17�130�11"MIDFIELD"
��X%=35�131�12"ATTACK"
�E� S(X%)=4 �130;X%�129�5)pl$(X%)�15)�131;ps(X%)�132�25)"`";pp(X%)
�
T�'�132"Type players number you wish to buy or"'�132" 0 to leave transfer market"
��X%:�X%>-1�X%<51
 � X%=0 �
*3� S(X%)<>4 �130pl$(X%)" is not for sale":�pr:�
4 �"What will you offer",offer
>�� offer<pp(X%)+�(10000)-�(10000) �129"Your offer of ";offer" for "pl$(X%)'�129" has been rejected.":pp(X%)=pp(X%)+10000:�pr:�dFG
H@� offer>ca%+ln% �130"You don't have enough money":�pr:�dFG
R:ca%=ca%-offer:�129pl$(X%)" has now joined your squad"
\S(X%)=2:�pr:�
f-��wk:�'�129�136"Please wait a moment...";
ptm$=tm$(wk%+((Di%-1)*15))
z� rt%>100 rt%=100
�� rt%<0 rt%=0
�ca%=ca%-wl%*1.2:ln%=ln%-wl%
�� ml%<4 �walkout
�� ca%-ln%<-500000 �br
�� ml%<4 � �(rt%)<5 �sack
�!� X%=1 � 50:� S(X%)=4 S(X%)=0
�.M(X%)=M(X%)+�(10)-�(10):Y%=ps(X%)*M(X%)/60
�-pp(X%)=Y%*50000*(5-Di%)+�(10000)-�(10000)
�� ps(X%)>5 ps(X%)=5
�� �(40)=1 � S(X%)=1 S(X%)=3
�� M(X%)<0 M(X%)=10
�� M(X%)>150 M(X%)=150
�� pp(X%)<4000 pp(X%)=10000
	�
	� X%=1 � �(10)
	!�Y%=�(50):� S(Y%)=0 � S(Y%)=4
	$S(Y%)=4:�:� X%=1 � 50
	.,� S(X%)=3 M(X%)=M(X%)-5:� �(5)=1 S(X%)=2
	8�
	B�
	L
� �sack:�
	V^�131"Your job is in danger due to your lack"'�131"of success, the Chairman calls you in:"
	`X%=�(rt%):� Z=1 � 1000:�
	j7� X%<>1 �130�6"And he tells you to improve!":�pr:�
	t%�129�10"And he sacks you!":�pr:�
	~��sp:� �:�lp
	�E�129"Type player number to be sold"'�129" or Return to continue"
	���X%:�X%>-1�X%<51
	�� X%=0 � �dNI
	�@� S(X%)=0 � S(X%)=4 �129"You do not have "pl$(X%):�pr:�dNI
	�Goffer=pp(X%)+�(10000)-�(10000):�tm$(�(60)+1)" have offered `";offer
	�R�129"Do you accept this(Y/N)":A$=�(��&5F):� A$<>"Y" pp(X%)=pp(X%)-10000:�dNI
	�S(X%)=0:ca%=ca%+offer
	�� X%=0:�
	���es:�:� X%=2 � 16
	�� P(X%)<3 � Di%<>1 �tm$(X%+(Di%-1)*15)" are promoted":Y%=�(16):tm$=tm$(X%+(Di%-1)*15):tm$(X%+(Di%-1)*15)=tm$(Y%+(Di%-2)*15):tm$(Y%+(Di%-2)*15)=tm$
	��:� X%=2 � 16
	��� P(X%)>14 � Di%<>4 �tm$(X%+(Di%-1)*15)" are relegated":Y%=�(16):tm$=tm$(X%+(Di%-1)*15):tm$(X%+(Di%-1)*15)=tm$(Y%+(Di%)*15):tm$(Y%+(Di%)*15)=tm$
�

H� P(1)>14 � Di%<>4 �"You are relegated to Division ";Di%+1:Di%=Di%+1
<� P(1)<3 � Di%<>1 �"You are promoted to Division ";Di%-1
6� P(1)<3 ca%=ca%+100000*(5-Di%):� Di%<>1 Di%=Di%-1
($rt%=rt%+8-P(1):� rt%>100 rt%=100
2� rt%<0 rt%=0
<yr%=yr%+1:�pr:�
F��hf
P(ch%=�(md%)-�(om%*2):� ch%<1 ch%=�(3)
Z(oc%=�(om%)-�(md%*2):� oc%<1 oc%=�(3)
d'gl%=�(at%)-�(od%):� gl%>ch% gl%=ch%
n'og%=�(oa%)-�(df%):� og%>oc% og%=oc%
x� gl%<0 gl%=0
�� og%<0 og%=0
��
���wo
�?� gl%>og% P1(1)=P1(1)+3:ml%=ml%+2:rt%=rt%+3:� ml%>20 ml%=20
�3� og%>gl% P1(wk%)=P1(wk%)+3:ml%=ml%-1:rt%=rt%-2
�A� gl%=og% ml%=ml%-1:rt%=rt%+1:P1(wk%)=P1(wk%)+1:P1(1)=P1(1)+1
�F(1)=F(1)+gl%:A(1)=A(1)+og%
�'F(wk%)=F(wk%)+og%:A(wk%)=A(wk%)+gl%
��ml%<0ml%=0 ��ml%>20ml%=20
� �rt%<0rt%=0 ��rt%>100rt%=100
��'�129"The final score is:"
�)�'�131tm$(1)�1;gl%�20)tm$�1;og%:�pr:�
���sk:�:� �TPN
� Z%=0 � 9:� sk$
�3�141�135;Z%�2sk$
�3�141�134;Z%�2sk$
"�:�'�6)�130"What skill?";
,"� A$=�:��"0123456789",A$):�A$;
6
sk%=�A$:�
@
��st:�
J�130"Team picked:"tm$(1)
T�130"Manager    :"mn$
^*�130"Rating     :";rt%�17)rt$(rt%�10)
h�'�129"Cash=`";ca%
r�129"Loan=`";ln%
|�'�131"Team morale=";ml%
��131"Skill level=";sk%
��'�134"Division=";Di%
�#�134"Position in league=";P(1)
�*�134"Number of players in squad=";ns%
��'�133"Year=";yr%
��133"Week=";
�"� lp%=1 � ;wk%-1 � � ;wk%-1+15
�	�pr:�
�
��tb:�
�%�8)"Team"�25)"F"�30)"A"�35)"Pts"
�� Y%=1 � 16:P(Y%)=0:�:B%=1
�� Y%=1 � 16:� X%=1 � 16
�S� P1(X%)>P1(B%) � P1(X%)=P1(B%) � (F(X%)-A(X%)+A(B%)-F(B%)>0) �:� P(X%)=0 B%=X%
�:�132;Y%�4)�129;
6� B%=1 �5)�133tm$(1); � �6)tm$(B%+((Di%-1)*15));
.� ;�130�25);F(B%)�30);A(B%)�35)�131;P1(B%)
&P(B%)=Y%:B%=0:�
0K�"You are in position ";P(1)" after ";:� lp%=2 � ;15+wk%-1; � � ;wk%-1;
:� " games":�pr:�
D��da:Z%=�(-�)
NV� rt$(10),tm$(61),pl$(50),ps(50),pp(60),P1(16),X(16),P(16),F(16),A(16),M(50),S(50)
X$Di%=4:P1(0)=-10:ca%=400000:rn%=1
b"ln%=0:wl%=0:rt%=20:sk%=6:yr%=1
lml%=15:ns%=15
v
� �TFN
�� X%=0 � 10
�� rt$(X%):�
�� �d@M:� X%=2 � 61
�� tm$(X%):�
�� �dhM:� X%=1 � 50
�� pl$(X%):ps(X%)=�(5)
�M(X%)=�(10)+90:�
�� X%=1 � 15:�
�Y%=�(50):� S(Y%)=0
�S(Y%)=1:�:S(Y%)=2
��X%=1�16:P(X%)=X%:�:�
�
��lp:�
�,�'"Num Name"�6"Skill Form  State  Price"

� X%=1 � 50

� S(X%)=0 � S(X%)=4 �T~M

%� X%<17 �129 �� X%<35 �130 � �131

 *�1;X%�4)pl$(X%)�18);ps(X%)�21);M(X%);

*/� S(X%)=1 Z$="P" �� S(X%)=2 Z$=" " � Z$="I"

4�26)Z$�133" `";pp(X%)

>�:�

H
��ns:�

R�''�129�12"NEW SEASON"

\� X%=1 � 50

f0ps(X%)=ps(X%)+�(2)-�(2):� ps(X%)<=0 ps(X%)=1

p� ps(X%)>5 ps(X%)=5

zM(X%)=�(50)+50

�� S(X%)=3 S(X%)=2

�!pp(X%)=ps(X%)*50000*(5-Di%):�

�*� X%=1 � 16:A(X%)=0:F(X%)=0:P1(X%)=0:�

�co=1:rn%=1:�

���pr:*FX21

�0�'�130�(5)"Press any key to continue":A$=�:�

��� Arsenal,Everton,Tottenham,Man Utd,Southampton,Chelsea,Liverpool,Notts Forest,Newcastle,QPR,Watford,Leicester,Ipswich,Coventry,Oxford

ʡ� Stoke,Blackburn,Barnsley,Portsmouth,Birmingham,Leeds Utd,Man City,Carlisle,Wimbledon,Charlton,Oldham,Sheffield Utd,Crystal Palace,Cardiff City,Notts County

ԛ� Bradford,Millwall,Rotherham Utd,Hull City,Bristol Rovers,Derby County,Bournemouth,Walsall,Brentford,Reading,Newport,Burnley,Plymouth,Orient,Cambridge

ޗ� Chesterfield,Bury,Darlington,Blackpool,Peterborough,Colchester,Tranmere,Port Vale,Swindon,Southend,Mansfield,Stockport,Exeter,Chester,Wrexham,???

�� J.Lukic,R.Clemence,B.Grobbelaar,P.Shilton,T.Butcher,V.Anderson,D.O'Leary,M.Lawrenson,T.Fenwick,A.Peak,G.Roberts,A.Martin,T.Cotton,S.Walford,K.Samson,T.Adams

�� G.Rix,B.Robson,G.Hoddle,K.Dalglish,P.Davis,S.Robson,P.Reid,R.Whelen,J.Wark,J.Barnes,T.Galvin,G.Mabbut,S.Nicol,S.Lee,P.Nevin,S.Williams,G.Stracken,J.Olsen

��� T.Woodcock,I.Alison,C.Nicholas,P.Beardsly,I.Rush,S.Stainrod,D.Speedy,T.Galvin,P.Walsh,A.Gray,F.Stapleton,M.Hately,G.Linerker,L.Blissett,K.Dixon,C.Waddle
� Appalling,Complete failure,Lucky to have the job,Very bad,Bad,Poor,Average,Quite Good,Very Good,Excellent,Move over Bobby
c� Simple,Easy,Quite easy,Below average,Average,Above average,Good,Excellent,Brilliant,Mega good
�� List or sell players,Save game,Print league table,Obtain a bank loan,Change skill level,Print status,Transfer Market,Load new game,Continue game
�
00000000  0d 00 0a 14 f4 20 53 6f  63 63 65 72 20 4d 61 6e  |..... Soccer Man|
00000010  61 67 65 72 0d 00 14 16  f4 20 62 79 20 50 61 74  |ager..... by Pat|
00000020  72 69 63 6b 20 42 65 72  72 79 0d 00 1e 14 f4 20  |rick Berry..... |
00000030  28 63 29 20 4d 69 63 72  6f 20 55 73 65 72 0d 00  |(c) Micro User..|
00000040  28 1b eb 20 37 3a ef 32  33 2c 31 3b 30 3b 30 3b  |(.. 7:.23,1;0;0;|
00000050  30 3b 3a 2a 46 58 32 32  30 0d 00 32 1d ee 20 85  |0;:*FX220..2.. .|
00000060  20 eb 37 3a f6 3a f1 22  20 61 74 20 6c 69 6e 65  | .7:.:." at line|
00000070  20 22 3b 9e 3a e0 0d 00  3c 0e f2 64 61 3a f2 69  | ";.:...<..da:.i|
00000080  6e 74 72 6f 0d 00 46 15  f5 20 74 6d 24 28 31 29  |ntro..F.. tm$(1)|
00000090  3d 74 65 61 24 3a f2 6e  73 0d 00 50 1c e3 20 6c  |=tea$:.ns..P.. l|
000000a0  70 25 3d 31 20 b8 20 32  3a e3 20 77 6b 25 3d 32  |p%=1 . 2:. wk%=2|
000000b0  20 b8 20 31 36 0d 00 5a  0b f2 77 6b 3a f2 6d 75  | . 16..Z..wk:.mu|
000000c0  0d 00 64 48 e7 20 77 6b  25 3d 34 20 84 20 77 6b  |..dH. wk%=4 . wk|
000000d0  25 3d 31 30 20 84 20 77  6b 25 3d 31 35 20 84 20  |%=10 . wk%=15 . |
000000e0  77 6b 25 2a 6c 70 25 3d  31 36 20 f2 66 61 3a 74  |wk%*lp%=16 .fa:t|
000000f0  6d 24 3d 74 6d 24 28 77  6b 25 2b 28 28 44 69 25  |m$=tm$(wk%+((Di%|
00000100  2d 31 29 2a 31 35 29 29  0d 00 6e 07 f2 6f 70 0d  |-1)*15))..n..op.|
00000110  00 78 0b f2 73 6c 3a f2  73 63 0d 00 82 19 58 25  |.x..sl:.sc....X%|
00000120  3d 30 3a f2 64 69 3a e7  20 58 25 3d 31 20 e5 8d  |=0:.di:. X%=1 ..|
00000130  44 78 40 0d 00 8c 17 f2  68 66 3a f2 77 6f 3a f2  |Dx@.....hf:.wo:.|
00000140  72 74 3a f2 74 62 3a f2  65 77 0d 00 96 0f ed 3a  |rt:.tb:.ew.....:|
00000150  ed 3a f2 65 73 3a fd 20  a3 0d 00 a0 0d dd f2 69  |.:.es:. .......i|
00000160  6e 74 72 6f 3a db 0d 00  aa 21 f1 20 bd 31 34 31  |ntro:....!. .141|
00000170  bd 31 32 39 89 39 22 53  6f 63 63 65 72 20 20 4d  |.129.9"Soccer  M|
00000180  61 6e 61 67 65 72 22 0d  00 b4 21 f1 20 bd 31 34  |anager"...!. .14|
00000190  31 bd 31 32 39 89 39 22  53 6f 63 63 65 72 20 20  |1.129.9"Soccer  |
000001a0  4d 61 6e 61 67 65 72 22  0d 00 be 12 ef 20 32 38  |Manager"..... 28|
000001b0  2c 30 2c 32 34 2c 33 39  2c 33 0d 00 c8 37 f5 3a  |,0,24,39,3...7.:|
000001c0  e8 27 27 22 57 68 61 74  20 69 73 20 79 6f 75 72  |.''"What is your|
000001d0  20 6e 61 6d 65 22 2c 6d  6e 24 3a fd 20 a9 28 6d  | name",mn$:. .(m|
000001e0  6e 24 29 3e 30 20 80 20  a9 28 6d 6e 24 29 3c 31  |n$)>0 . .(mn$)<1|
000001f0  36 0d 00 d2 3f f5 3a e8  27 27 22 45 6e 74 65 72  |6...?.:.''"Enter|
00000200  20 79 6f 75 72 20 74 65  61 6d 27 73 20 6e 61 6d  | your team's nam|
00000210  65 22 2c 74 65 61 24 3a  fd 20 a9 28 74 65 61 24  |e",tea$:. .(tea$|
00000220  29 3e 30 20 80 20 a9 28  74 65 61 24 29 3c 31 34  |)>0 . .(tea$)<14|
00000230  0d 00 dc 0f e3 20 58 25  3d 31 20 b8 20 36 30 0d  |..... X%=1 . 60.|
00000240  00 e6 25 e7 20 74 65 61  24 3d 74 6d 24 28 58 25  |..%. tea$=tm$(X%|
00000250  29 20 74 6d 24 28 58 25  29 3d 22 42 72 69 67 68  |) tm$(X%)="Brigh|
00000260  74 6f 6e 22 0d 00 f0 07  ed 3a e1 0d 00 fa 08 dd  |ton".....:......|
00000270  f2 73 61 0d 01 04 33 f5  3a e8 22 4e 61 6d 65 20  |.sa...3.:."Name |
00000280  6f 66 20 66 69 6c 65 22  2c 66 69 6c 65 24 3a fd  |of file",file$:.|
00000290  20 a9 20 66 69 6c 65 24  3e 30 20 80 20 a9 20 66  | . file$>0 . . f|
000002a0  69 6c 65 24 3c 38 0d 01  0e 0e 58 3d ae 28 66 69  |ile$<8....X=.(fi|
000002b0  6c 65 24 29 0d 01 18 1f  f1 23 58 2c 74 65 61 24  |le$).....#X,tea$|
000002c0  2c 77 6b 25 2c 44 69 25  2c 6c 70 25 2c 72 6e 25  |,wk%,Di%,lp%,rn%|
000002d0  2c 63 6f 0d 01 22 0f e3  20 58 25 3d 31 20 b8 20  |,co..".. X%=1 . |
000002e0  31 36 0d 01 2c 26 f1 23  58 2c 50 28 58 25 29 2c  |16..,&.#X,P(X%),|
000002f0  41 28 58 25 29 2c 46 28  58 25 29 2c 50 31 28 58  |A(X%),F(X%),P1(X|
00000300  25 29 2c 58 28 58 25 29  0d 01 36 05 ed 0d 01 40  |%),X(X%)..6....@|
00000310  0f f1 23 58 2c 6c 6e 25  2c 77 6c 25 0d 01 4a 0f  |..#X,ln%,wl%..J.|
00000320  e3 20 58 25 3d 31 20 b8  20 36 31 0d 01 54 0f f1  |. X%=1 . 61..T..|
00000330  23 58 2c 74 6d 24 28 58  25 29 0d 01 5e 05 ed 0d  |#X,tm$(X%)..^...|
00000340  01 68 0f e3 20 58 25 3d  31 20 b8 20 35 30 0d 01  |.h.. X%=1 . 50..|
00000350  72 29 f1 23 58 2c 70 6c  24 28 58 25 29 2c 70 73  |r).#X,pl$(X%),ps|
00000360  28 58 25 29 2c 70 70 28  58 25 29 2c 4d 28 58 25  |(X%),pp(X%),M(X%|
00000370  29 2c 53 28 58 25 29 0d  01 7c 05 ed 0d 01 86 1b  |),S(X%)..|......|
00000380  f1 23 58 2c 6d 6c 25 2c  72 74 25 2c 63 61 25 2c  |.#X,ml%,rt%,ca%,|
00000390  73 6b 25 2c 6d 6e 24 0d  01 90 08 d9 23 20 58 0d  |sk%,mn$.....# X.|
000003a0  01 9a 05 e1 0d 01 a4 08  dd f2 6c 64 0d 01 ae 35  |..........ld...5|
000003b0  f5 3a e8 22 4e 61 6d 65  20 6f 66 20 66 69 6c 65  |.:."Name of file|
000003c0  22 2c 66 69 6c 65 24 3a  fd 20 a9 28 66 69 6c 65  |",file$:. .(file|
000003d0  24 29 3e 30 20 80 20 a9  28 66 69 6c 65 24 29 3c  |$)>0 . .(file$)<|
000003e0  38 0d 01 b8 0e 58 3d 8e  28 66 69 6c 65 24 29 0d  |8....X=.(file$).|
000003f0  01 c2 1f e8 23 58 2c 74  65 61 24 2c 77 6b 25 2c  |....#X,tea$,wk%,|
00000400  44 69 25 2c 6c 70 25 2c  72 6e 25 2c 63 6f 0d 01  |Di%,lp%,rn%,co..|
00000410  cc 0f e3 20 58 25 3d 31  20 b8 20 31 36 0d 01 d6  |... X%=1 . 16...|
00000420  26 e8 23 58 2c 50 28 58  25 29 2c 41 28 58 25 29  |&.#X,P(X%),A(X%)|
00000430  2c 46 28 58 25 29 2c 50  31 28 58 25 29 2c 58 28  |,F(X%),P1(X%),X(|
00000440  58 25 29 0d 01 e0 05 ed  0d 01 ea 0f e8 23 58 2c  |X%)..........#X,|
00000450  6c 6e 25 2c 77 6c 25 0d  01 f4 0f e3 20 58 25 3d  |ln%,wl%..... X%=|
00000460  31 20 b8 20 36 31 0d 01  fe 0f e8 23 58 2c 74 6d  |1 . 61.....#X,tm|
00000470  24 28 58 25 29 0d 02 08  05 ed 0d 02 12 0f e3 20  |$(X%).......... |
00000480  58 25 3d 31 20 b8 20 35  30 0d 02 1c 29 e8 23 58  |X%=1 . 50...).#X|
00000490  2c 70 6c 24 28 58 25 29  2c 70 73 28 58 25 29 2c  |,pl$(X%),ps(X%),|
000004a0  70 70 28 58 25 29 2c 4d  28 58 25 29 2c 53 28 58  |pp(X%),M(X%),S(X|
000004b0  25 29 0d 02 26 05 ed 0d  02 30 1b e8 23 58 2c 6d  |%)..&....0..#X,m|
000004c0  6c 25 2c 72 74 25 2c 63  61 25 2c 73 6b 25 2c 6d  |l%,rt%,ca%,sk%,m|
000004d0  6e 24 0d 02 3a 08 d9 23  20 58 0d 02 44 07 f2 77  |n$..:..# X..D..w|
000004e0  6b 0d 02 4e 05 e1 0d 02  58 08 dd f2 73 71 0d 02  |k..N....X...sq..|
000004f0  62 3d 6e 73 25 3d 30 3a  e3 20 58 25 3d 31 20 b8  |b=ns%=0:. X%=1 .|
00000500  20 35 30 3a e7 20 53 28  58 25 29 3d 31 20 84 20  | 50:. S(X%)=1 . |
00000510  53 28 58 25 29 3d 32 20  84 20 53 28 58 25 29 3d  |S(X%)=2 . S(X%)=|
00000520  33 20 6e 73 25 3d 6e 73  25 2b 31 0d 02 6c 05 ed  |3 ns%=ns%+1..l..|
00000530  0d 02 76 05 e1 0d 02 80  1e dd f2 77 61 6c 6b 6f  |..v........walko|
00000540  75 74 3a 43 25 3d 30 3a  e3 20 58 25 3d 31 20 b8  |ut:C%=0:. X%=1 .|
00000550  20 35 30 0d 02 8a 52 e7  20 53 28 58 25 29 3d 31  | 50...R. S(X%)=1|
00000560  20 e7 20 b3 28 72 74 25  29 3c 31 35 20 e7 20 b3  | . .(rt%)<15 . .|
00000570  28 31 35 29 3d 31 20 f1  bd 31 33 34 70 6c 24 28  |(15)=1 ..134pl$(|
00000580  58 25 29 22 20 68 61 73  20 77 61 6c 6b 65 64 20  |X%)" has walked |
00000590  6f 75 74 2e 22 3a 53 28  58 25 29 3d 30 3a 43 25  |out.":S(X%)=0:C%|
000005a0  3d 43 25 2b 31 0d 02 94  10 ed 3a e7 20 43 25 3e  |=C%+1.....:. C%>|
000005b0  30 20 f2 70 72 0d 02 9e  05 e1 0d 02 a8 0f dd f2  |0 .pr...........|
000005c0  65 77 3a 77 61 3d 30 3a  db 0d 02 b2 1b f1 20 bd  |ew:wa=0:...... .|
000005d0  28 31 33 30 29 3b 22 20  45 4e 44 20 4f 46 20 57  |(130);" END OF W|
000005e0  45 45 4b 22 0d 02 bc 1d  72 65 3d 28 32 30 2d 50  |EEK"....re=(20-P|
000005f0  28 31 29 29 2a 31 30 30  30 2a 28 37 2d 44 69 25  |(1))*1000*(7-Di%|
00000600  29 0d 02 c6 2b 72 65 3d  72 65 2b b3 28 31 30 30  |)...+re=re+.(100|
00000610  30 30 29 2d b3 28 31 30  30 30 30 29 3a e7 20 72  |00)-.(10000):. r|
00000620  65 3c 31 30 30 20 72 65  3d 31 30 30 0d 02 d0 31  |e<100 re=100...1|
00000630  e7 20 76 65 6e 3d 31 20  f1 20 bd 31 32 39 22 47  |. ven=1 . .129"G|
00000640  61 74 65 20 72 65 63 65  69 70 74 73 3d 60 22 3b  |ate receipts=`";|
00000650  72 65 3a 63 61 25 3d 63  61 25 2b 72 65 0d 02 da  |re:ca%=ca%+re...|
00000660  2c e7 20 76 65 6e 3c 3e  31 20 f1 22 50 6c 61 79  |,. ven<>1 ."Play|
00000670  69 6e 67 20 61 77 61 79  20 66 72 6f 6d 20 68 6f  |ing away from ho|
00000680  6d 65 2e 22 3a 72 65 3d  30 0d 02 e4 21 77 61 3d  |me.":re=0...!wa=|
00000690  30 3a 77 61 3d 6e 73 25  2a 34 30 30 3a 77 61 3d  |0:wa=ns%*400:wa=|
000006a0  77 61 2a 28 35 2d 44 69  25 29 0d 02 ee 20 f1 bd  |wa*(5-Di%)... ..|
000006b0  31 33 32 22 57 61 67 65  73 3d 60 22 3b 77 61 3a  |132"Wages=`";wa:|
000006c0  63 61 25 3d 63 61 25 2d  77 61 0d 02 f8 30 65 78  |ca%=ca%-wa...0ex|
000006d0  70 65 6e 73 65 3d b3 28  31 30 30 29 2b 31 30 30  |pense=.(100)+100|
000006e0  3a f1 bd 31 32 39 22 45  78 70 65 6e 73 65 73 3d  |:..129"Expenses=|
000006f0  60 22 3b 65 78 70 65 6e  73 65 0d 03 02 21 f1 20  |`";expense...!. |
00000700  22 42 61 6c 61 6e 63 65  3d 60 22 3b 72 65 2d 28  |"Balance=`";re-(|
00000710  77 61 2b 65 78 70 65 6e  73 65 29 0d 03 0c 11 f2  |wa+expense).....|
00000720  70 72 3a 63 6f 3d 63 6f  2b 31 3a e1 0d 03 16 0a  |pr:co=co+1:.....|
00000730  dd f2 62 72 3a db 0d 03  20 6d f1 22 44 75 65 20  |..br:... m."Due |
00000740  74 6f 20 79 6f 75 72 20  65 78 63 65 73 73 69 76  |to your excessiv|
00000750  65 20 73 70 65 6e 64 69  6e 67 20 74 68 65 22 27  |e spending the"'|
00000760  22 62 61 6e 6b 73 20 77  69 6c 6c 20 6e 6f 74 20  |"banks will not |
00000770  70 61 79 20 79 6f 75 72  20 62 69 6c 6c 73 20 61  |pay your bills a|
00000780  6e 64 20 73 6f 22 27 22  74 68 65 20 63 6c 75 62  |nd so"'"the club|
00000790  20 68 61 73 20 74 6f 20  63 6c 6f 73 65 2e 22 3a  | has to close.":|
000007a0  f2 70 72 0d 03 2a 08 dd  f2 66 61 0d 03 34 15 e7  |.pr..*...fa..4..|
000007b0  20 72 6e 25 3d 30 20 84  20 72 6e 25 3d 39 20 e1  | rn%=0 . rn%=9 .|
000007c0  0d 03 3e 05 db 0d 03 48  24 e7 20 72 6e 25 3d 37  |..>....H$. rn%=7|
000007d0  20 f1 20 bd 31 32 39 22  54 68 65 20 46 41 20 43  | . .129"The FA C|
000007e0  75 70 20 46 69 6e 61 6c  22 0d 03 52 29 e7 20 72  |up Final"..R). r|
000007f0  6e 25 3d 36 20 f1 20 bd  31 32 39 22 54 68 65 20  |n%=6 . .129"The |
00000800  46 41 20 43 75 70 20 53  65 6d 69 20 46 69 6e 61  |FA Cup Semi Fina|
00000810  6c 22 0d 03 5c 18 f1 22  46 41 20 43 75 70 20 72  |l"..\.."FA Cup r|
00000820  6f 75 6e 64 20 22 3b 72  6e 25 0d 03 66 1b f2 70  |ound ";rn%..f..p|
00000830  72 3a 5a 3d 73 6b 25 3a  73 6b 25 3d 30 2b 28 72  |r:Z=sk%:sk%=0+(r|
00000840  6e 25 2a 32 29 0d 03 70  21 74 6d 24 3d 74 6d 24  |n%*2)..p!tm$=tm$|
00000850  28 36 30 2d 28 72 6e 25  2a 38 29 2b b3 28 33 29  |(60-(rn%*8)+.(3)|
00000860  2d b3 28 33 29 29 0d 03  7a 07 f2 6f 70 0d 03 84  |-.(3))..z..op...|
00000870  0b f2 73 6c 3a f2 73 63  0d 03 8e 19 58 25 3d 30  |..sl:.sc....X%=0|
00000880  3a f2 64 69 3a e7 20 58  25 3d 31 20 e5 8d 74 44  |:.di:. X%=1 ..tD|
00000890  43 0d 03 98 0f f2 68 66  3a db 3a 73 6b 25 3d 5a  |C.....hf:.:sk%=Z|
000008a0  0d 03 a2 18 f1 22 46 75  6c 6c 20 74 69 6d 65 20  |....."Full time |
000008b0  72 65 73 75 6c 74 2d 22  0d 03 ac 1c f1 74 6d 24  |result-".....tm$|
000008c0  28 31 29 89 31 3b 67 6c  25 89 35 74 6d 24 89 31  |(1).1;gl%.5tm$.1|
000008d0  3b 6f 67 25 0d 03 b6 47  e7 20 72 6e 25 3d 37 20  |;og%...G. rn%=7 |
000008e0  80 20 67 6c 25 3e 6f 67  25 20 20 f1 20 22 59 4f  |. gl%>og%  . "YO|
000008f0  55 20 48 41 56 45 20 57  4f 4e 20 54 48 45 20 46  |U HAVE WON THE F|
00000900  41 20 43 55 50 22 3a 63  61 25 3d 63 61 25 2b 32  |A CUP":ca%=ca%+2|
00000910  30 30 30 30 30 3a 72 6e  25 3d 38 0d 03 c0 4d e7  |00000:rn%=8...M.|
00000920  20 67 6c 25 3e 6f 67 25  20 80 20 72 6e 25 3c 3e  | gl%>og% . rn%<>|
00000930  37 20 72 6e 25 3d 72 6e  25 2b 31 3a f1 20 bd 28  |7 rn%=rn%+1:. .(|
00000940  31 33 31 29 3b 22 59 6f  75 20 61 72 65 20 74 68  |131);"You are th|
00000950  72 6f 75 67 68 20 74 6f  20 74 68 65 20 6e 65 78  |rough to the nex|
00000960  74 20 72 6f 75 6e 64 22  0d 03 ca 38 e7 20 6f 67  |t round"...8. og|
00000970  25 3e 67 6c 25 20 72 6e  25 3d 30 3a f1 20 bd 28  |%>gl% rn%=0:. .(|
00000980  31 33 32 29 3b 22 59 6f  75 20 61 72 65 20 6f 75  |132);"You are ou|
00000990  74 20 6f 66 20 74 68 65  20 46 41 20 43 75 70 22  |t of the FA Cup"|
000009a0  0d 03 d4 44 e7 20 67 6c  25 3d 6f 67 25 20 f1 20  |...D. gl%=og% . |
000009b0  22 54 68 65 72 65 20 69  73 20 61 20 72 65 70 6c  |"There is a repl|
000009c0  61 79 20 68 69 74 20 61  20 6b 65 79 20 74 6f 20  |ay hit a key to |
000009d0  63 6f 6e 74 69 6e 75 65  22 3a 41 24 3d be 3a e5  |continue":A$=.:.|
000009e0  8d 74 44 43 0d 03 de 0f  f2 70 72 3a f2 65 77 3a  |.tDC.....pr:.ew:|
000009f0  f2 6d 75 0d 03 e8 11 e7  20 72 6e 25 3d 38 20 72  |.mu..... rn%=8 r|
00000a00  6e 25 3d 30 0d 03 f2 05  e1 0d 03 fc 10 dd f2 6d  |n%=0...........m|
00000a10  75 3a db 3a 2a 46 58 31  35 0d 04 06 07 f2 73 71  |u:.:*FX15.....sq|
00000a20  0d 04 10 0a f7 20 8d 54  5a 4e 0d 04 1a 15 e3 20  |..... .TZN..... |
00000a30  5a 25 3d 31 20 b8 20 39  3a f3 20 6f 70 74 24 0d  |Z%=1 . 9:. opt$.|
00000a40  04 24 1b f1 bd 31 34 31  bd 31 33 30 22 28 22 3b  |.$...141.130"(";|
00000a50  5a 25 22 29 20 22 6f 70  74 24 0d 04 2e 1b f1 bd  |Z%") "opt$......|
00000a60  31 34 31 bd 31 33 34 22  28 22 3b 5a 25 22 29 20  |141.134"(";Z%") |
00000a70  22 6f 70 74 24 0d 04 38  07 ed 3a f1 0d 04 42 1f  |"opt$..8..:...B.|
00000a80  f5 20 5a 24 3d be 3a fd  20 a7 22 31 32 33 34 35  |. Z$=.:. ."12345|
00000a90  36 37 38 39 22 2c 5a 24  29 3e 30 0d 04 4c 10 e7  |6789",Z$)>0..L..|
00000aa0  20 5a 24 3d 22 31 22 20  f2 73 70 0d 04 56 10 e7  | Z$="1" .sp..V..|
00000ab0  20 5a 24 3d 22 32 22 20  f2 73 61 0d 04 60 24 e7  | Z$="2" .sa..`$.|
00000ac0  20 5a 24 3d 22 33 22 20  77 6b 25 3d 77 6b 25 2d  | Z$="3" wk%=wk%-|
00000ad0  31 3a f2 74 62 3a 77 6b  25 3d 77 6b 25 2b 31 0d  |1:.tb:wk%=wk%+1.|
00000ae0  04 6a 10 e7 20 5a 24 3d  22 34 22 20 f2 6c 6e 0d  |.j.. Z$="4" .ln.|
00000af0  04 74 10 e7 20 5a 24 3d  22 35 22 20 f2 73 6b 0d  |.t.. Z$="5" .sk.|
00000b00  04 7e 10 e7 20 5a 24 3d  22 36 22 20 f2 73 74 0d  |.~.. Z$="6" .st.|
00000b10  04 88 10 e7 20 5a 24 3d  22 37 22 20 f2 74 72 0d  |.... Z$="7" .tr.|
00000b20  04 92 10 e7 20 5a 24 3d  22 38 22 20 f2 6c 64 0d  |.... Z$="8" .ld.|
00000b30  04 9c 0e e7 20 5a 24 3d  22 39 22 20 e1 0d 04 a6  |.... Z$="9" ....|
00000b40  0b db 3a e5 8d 54 50 44  0d 04 b0 0a dd f2 72 74  |..:..TPD......rt|
00000b50  3a db 0d 04 ba 21 e3 20  58 25 3d 31 20 b8 20 31  |:....!. X%=1 . 1|
00000b60  36 3a 50 28 58 25 29 3d  30 3a 58 28 58 25 29 3d  |6:P(X%)=0:X(X%)=|
00000b70  30 3a ed 0d 04 c4 13 58  28 31 29 3d 31 3a 58 28  |0:.....X(1)=1:X(|
00000b80  77 6b 25 29 3d 31 0d 04  ce 0e e3 20 58 25 3d 31  |wk%)=1..... X%=1|
00000b90  20 b8 20 37 0d 04 d8 17  f5 78 25 3d b3 28 31 36  | . 7.....x%=.(16|
00000ba0  29 3a fd 20 58 28 78 25  29 3d 30 0d 04 e2 20 f5  |):. X(x%)=0... .|
00000bb0  79 25 3d b3 28 31 36 29  3a fd 20 58 28 79 25 29  |y%=.(16):. X(y%)|
00000bc0  3d 30 20 80 20 78 25 3c  3e 79 25 0d 04 ec 13 58  |=0 . x%<>y%....X|
00000bd0  28 78 25 29 3d 31 3a 58  28 79 25 29 3d 31 0d 04  |(x%)=1:X(y%)=1..|
00000be0  f6 4a 47 58 25 3d b3 28  37 2d 50 28 78 25 29 29  |.JGX%=.(7-P(x%))|
00000bf0  3a 47 58 25 3d 47 58 25  2d b3 28 37 2d 50 28 79  |:GX%=GX%-.(7-P(y|
00000c00  25 29 29 3a e7 20 47 58  25 3c 30 20 47 58 25 3d  |%)):. GX%<0 GX%=|
00000c10  30 3a e7 20 47 58 25 3d  30 20 80 20 b3 28 35 29  |0:. GX%=0 . .(5)|
00000c20  3d 31 20 47 58 25 3d 31  0d 05 00 4b 47 59 25 3d  |=1 GX%=1...KGY%=|
00000c30  b3 28 31 30 2d 50 28 79  25 29 29 3a 47 59 25 3d  |.(10-P(y%)):GY%=|
00000c40  47 59 25 2d b3 28 37 2d  50 28 78 25 29 29 3a e7  |GY%-.(7-P(x%)):.|
00000c50  20 47 59 25 3c 30 20 47  59 25 3d 30 3a e7 20 47  | GY%<0 GY%=0:. G|
00000c60  59 25 3d 30 20 80 20 b3  28 33 29 3d 31 20 47 59  |Y%=0 . .(3)=1 GY|
00000c70  25 3d 31 0d 05 0a 18 e7  20 b3 28 31 30 29 3e 38  |%=1..... .(10)>8|
00000c80  20 47 58 25 3d b3 28 36  29 2d 31 0d 05 14 18 e7  | GX%=.(6)-1.....|
00000c90  20 b3 28 31 30 29 3e 36  20 47 59 25 3d b3 28 36  | .(10)>6 GY%=.(6|
00000ca0  29 2d 31 0d 05 1e 44 f1  20 bd 31 32 39 74 6d 24  |)-1...D. .129tm$|
00000cb0  28 78 25 2b 28 28 44 69  25 2d 31 29 2a 31 35 29  |(x%+((Di%-1)*15)|
00000cc0  29 8a 31 38 29 3b 47 58  25 8a 32 32 29 74 6d 24  |).18);GX%.22)tm$|
00000cd0  28 79 25 2b 28 44 69 25  2d 31 29 2a 31 35 29 8a  |(y%+(Di%-1)*15).|
00000ce0  33 38 29 3b 47 59 25 0d  05 28 1d e7 20 47 58 25  |38);GY%..(.. GX%|
00000cf0  3e 47 59 25 20 50 31 28  78 25 29 3d 50 31 28 78  |>GY% P1(x%)=P1(x|
00000d00  25 29 2b 33 0d 05 32 1d  e7 20 47 59 25 3e 47 58  |%)+3..2.. GY%>GX|
00000d10  25 20 50 31 28 79 25 29  3d 50 31 28 79 25 29 2b  |% P1(y%)=P1(y%)+|
00000d20  33 0d 05 3c 1d e7 20 47  59 25 3d 47 58 25 20 50  |3..<.. GY%=GX% P|
00000d30  31 28 79 25 29 3d 50 31  28 79 25 29 2b 31 0d 05  |1(y%)=P1(y%)+1..|
00000d40  46 1d e7 20 47 59 25 3d  47 58 25 20 50 31 28 78  |F.. GY%=GX% P1(x|
00000d50  25 29 3d 50 31 28 78 25  29 2b 31 0d 05 50 23 46  |%)=P1(x%)+1..P#F|
00000d60  28 78 25 29 3d 46 28 78  25 29 2b 47 58 25 3a 41  |(x%)=F(x%)+GX%:A|
00000d70  28 78 25 29 3d 41 28 78  25 29 2b 47 59 25 0d 05  |(x%)=A(x%)+GY%..|
00000d80  5a 23 46 28 79 25 29 3d  46 28 79 25 29 2b 47 59  |Z#F(y%)=F(y%)+GY|
00000d90  25 3a 41 28 79 25 29 3d  41 28 79 25 29 2b 47 58  |%:A(y%)=A(y%)+GX|
00000da0  25 0d 05 64 0b ed 3a f2  70 72 3a e1 0d 05 6e 08  |%..d..:.pr:...n.|
00000db0  dd f2 73 6c 0d 05 78 13  f5 20 db 3a f2 6c 70 3a  |..sl..x.. .:.lp:|
00000dc0  f2 70 69 63 6b 65 64 0d  05 82 2e f1 20 22 50 2d  |.picked..... "P-|
00000dd0  50 69 63 6b 20 70 6c 61  79 65 72 20 20 52 2d 52  |Pick player  R-R|
00000de0  65 6d 6f 76 65 20 70 6c  61 79 65 72 20 20 45 2d  |emove player  E-|
00000df0  45 78 69 74 22 0d 05 8c  25 f1 27 89 35 bd 31 33  |Exit"...%.'.5.13|
00000e00  30 3b 70 69 63 6b 65 64  22 20 70 6c 61 79 65 72  |0;picked" player|
00000e10  73 20 70 69 63 6b 65 64  22 27 0d 05 96 20 f5 20  |s picked"'... . |
00000e20  41 24 3d bd 28 a5 80 26  35 46 29 3a fd 20 a7 22  |A$=.(..&5F):. ."|
00000e30  50 52 45 22 2c 41 24 29  3e 30 0d 05 a0 4d e7 20  |PRE",A$)>0...M. |
00000e40  41 24 3d 22 50 22 20 e8  22 50 6c 61 79 65 72 20  |A$="P" ."Player |
00000e50  6e 75 6d 62 65 72 22 2c  58 25 3a 58 25 3d 28 58  |number",X%:X%=(X|
00000e60  25 2d 31 29 20 83 20 35  30 2b 31 3a e7 20 53 28  |%-1) . 50+1:. S(|
00000e70  58 25 29 3d 32 20 84 20  53 28 58 25 29 3d 35 20  |X%)=2 . S(X%)=5 |
00000e80  53 28 58 25 29 3d 31 0d  05 aa 43 e7 20 41 24 3d  |S(X%)=1...C. A$=|
00000e90  22 52 22 20 e8 22 50 6c  61 79 65 72 20 6e 75 6d  |"R" ."Player num|
00000ea0  62 65 72 22 2c 58 25 3a  58 25 3d 28 58 25 2d 31  |ber",X%:X%=(X%-1|
00000eb0  29 20 83 20 35 30 2b 31  3a e7 20 53 28 58 25 29  |) . 50+1:. S(X%)|
00000ec0  3d 31 20 53 28 58 25 29  3d 32 0d 05 b4 0e fd 20  |=1 S(X%)=2..... |
00000ed0  41 24 3d 22 45 22 3a e1  0d 05 be 15 dd f2 70 69  |A$="E":.......pi|
00000ee0  63 6b 65 64 3a 70 69 63  6b 65 64 3d 30 0d 05 c8  |cked:picked=0...|
00000ef0  2b e3 20 58 25 3d 31 20  b8 20 35 30 3a 70 69 63  |+. X%=1 . 50:pic|
00000f00  6b 65 64 3d 70 69 63 6b  65 64 2d 28 53 28 58 25  |ked=picked-(S(X%|
00000f10  29 3d 31 29 3a ed 3a e1  0d 05 d2 11 dd f2 6f 70  |)=1):.:.......op|
00000f20  3a 67 72 25 3d b3 28 35  29 0d 05 dc 20 6f 61 25  |:gr%=.(5)... oa%|
00000f30  3d 73 6b 25 2b 28 31 35  2d 50 28 77 6b 25 29 2f  |=sk%+(15-P(wk%)/|
00000f40  32 29 2b b3 28 35 29 2d  38 0d 05 e6 20 6f 64 25  |2)+.(5)-8... od%|
00000f50  3d 73 6b 25 2b 28 31 35  2d 50 28 77 6b 25 29 2f  |=sk%+(15-P(wk%)/|
00000f60  32 29 2b b3 28 35 29 2d  38 0d 05 f0 20 6f 6d 25  |2)+.(5)-8... om%|
00000f70  3d 73 6b 25 2b 28 31 35  2d 50 28 77 6b 25 29 2f  |=sk%+(15-P(wk%)/|
00000f80  32 29 2b b3 28 35 29 2d  38 0d 05 fa 05 e1 0d 06  |2)+.(5)-8.......|
00000f90  04 1a dd f2 73 63 3a 64  66 25 3d 30 3a 6d 64 25  |....sc:df%=0:md%|
00000fa0  3d 30 3a 61 74 25 3d 30  0d 06 0e 34 e3 20 58 25  |=0:at%=0...4. X%|
00000fb0  3d 31 20 b8 20 31 36 3a  e7 20 53 28 58 25 29 3d  |=1 . 16:. S(X%)=|
00000fc0  31 20 64 66 25 3d 64 66  25 2b 28 70 73 28 58 25  |1 df%=df%+(ps(X%|
00000fd0  29 2a 4d 28 58 25 29 2f  31 30 30 29 0d 06 18 05  |)*M(X%)/100)....|
00000fe0  ed 0d 06 22 35 e3 20 58  25 3d 31 37 20 b8 20 33  |..."5. X%=17 . 3|
00000ff0  34 3a e7 20 53 28 58 25  29 3d 31 20 6d 64 25 3d  |4:. S(X%)=1 md%=|
00001000  6d 64 25 2b 28 70 73 28  58 25 29 2a 4d 28 58 25  |md%+(ps(X%)*M(X%|
00001010  29 2f 31 30 30 29 0d 06  2c 05 ed 0d 06 36 35 e3  |)/100)..,....65.|
00001020  20 58 25 3d 33 35 20 b8  20 35 30 3a e7 20 53 28  | X%=35 . 50:. S(|
00001030  58 25 29 3d 31 20 61 74  25 3d 61 74 25 2b 28 70  |X%)=1 at%=at%+(p|
00001040  73 28 58 25 29 2a 4d 28  58 25 29 2f 31 30 30 29  |s(X%)*M(X%)/100)|
00001050  0d 06 40 05 ed 0d 06 4a  1f 61 74 25 3d 61 74 25  |..@....J.at%=at%|
00001060  2b 67 72 25 2d 31 3a 6f  61 25 3d 6f 61 25 2b 67  |+gr%-1:oa%=oa%+g|
00001070  72 25 2d 31 0d 06 54 27  e7 20 67 72 25 3d 32 20  |r%-1..T'. gr%=2 |
00001080  61 74 25 3d 61 74 25 2d  33 3a 6f 74 74 61 63 6b  |at%=at%-3:ottack|
00001090  25 3d 6f 74 74 61 63 6b  25 2d 33 0d 06 5e 1f 61  |%=ottack%-3..^.a|
000010a0  74 25 3d 61 74 25 2b 6d  6c 25 2f 34 3a 64 66 25  |t%=at%+ml%/4:df%|
000010b0  3d 64 66 25 2b 6d 6c 25  2f 34 0d 06 68 13 6d 64  |=df%+ml%/4..h.md|
000010c0  25 3d 6d 64 25 2b 6d 6c  25 2f 34 3a e1 0d 06 72  |%=md%+ml%/4:...r|
000010d0  0a dd f2 64 69 3a db 0d  06 7c 1e e7 61 74 25 3e  |...di:...|..at%>|
000010e0  32 30 61 74 25 3d 32 30  20 8b e7 61 74 25 3c 32  |20at%=20 ..at%<2|
000010f0  61 74 25 3d 32 0d 06 86  1e e7 6d 64 25 3e 32 30  |at%=2.....md%>20|
00001100  6d 64 25 3d 32 30 20 8b  e7 6d 64 25 3c 32 6d 64  |md%=20 ..md%<2md|
00001110  25 3d 32 0d 06 90 1e e7  64 66 25 3e 32 30 64 66  |%=2.....df%>20df|
00001120  25 3d 32 30 20 8b e7 64  66 25 3c 32 64 66 25 3d  |%=20 ..df%<2df%=|
00001130  32 0d 06 9a 1e e7 6f 61  25 3e 32 30 6f 61 25 3d  |2.....oa%>20oa%=|
00001140  32 30 20 8b e7 6f 61 25  3c 32 6f 61 25 3d 32 0d  |20 ..oa%<2oa%=2.|
00001150  06 a4 1e e7 6f 6d 25 3e  32 30 6f 6d 25 3d 32 30  |....om%>20om%=20|
00001160  20 8b e7 6f 6d 25 3c 32  6f 6d 25 3d 32 0d 06 ae  | ..om%<2om%=2...|
00001170  1e e7 6f 64 25 3e 32 30  6f 64 25 3d 32 30 20 8b  |..od%>20od%=20 .|
00001180  e7 6f 64 25 3c 32 6f 64  25 3d 32 0d 06 b8 17 f1  |.od%<2od%=2.....|
00001190  8a 31 30 29 74 6d 24 28  31 29 8a 32 35 29 74 6d  |.10)tm$(1).25)tm|
000011a0  24 27 0d 06 c2 18 f1 bd  31 33 31 22 41 74 74 61  |$'......131"Atta|
000011b0  63 6b 22 2c 61 74 25 6f  61 25 0d 06 cc 1a f1 bd  |ck",at%oa%......|
000011c0  31 33 30 22 4d 69 64 66  69 65 6c 64 22 2c 6d 64  |130"Midfield",md|
000011d0  25 6f 6d 25 0d 06 d6 19  f1 bd 31 33 31 22 44 65  |%om%......131"De|
000011e0  66 65 6e 63 65 22 2c 64  66 25 6f 64 25 0d 06 e0  |fence",df%od%...|
000011f0  17 f1 20 bd 28 31 33 30  29 3b 22 47 72 6f 75 6e  |.. .(130);"Groun|
00001200  64 3d 22 3b 0d 06 ea 13  e7 20 67 72 25 3d 31 20  |d=";..... gr%=1 |
00001210  f1 22 46 69 72 6d 22 0d  06 f4 14 e7 20 67 72 25  |."Firm"..... gr%|
00001220  3d 32 20 f1 22 42 6f 67  67 79 22 0d 06 fe 15 e7  |=2 ."Boggy".....|
00001230  20 67 72 25 3d 33 20 f1  22 46 72 6f 73 74 79 22  | gr%=3 ."Frosty"|
00001240  0d 07 08 12 e7 20 67 72  25 3d 34 20 f1 22 49 63  |..... gr%=4 ."Ic|
00001250  79 22 0d 07 12 14 e7 20  67 72 25 3d 35 20 f1 22  |y"..... gr%=5 ."|
00001260  53 6e 6f 77 79 22 0d 07  1c 1c e7 20 63 6f 20 83  |Snowy"..... co .|
00001270  20 32 3d 30 20 76 65 6e  3d 31 20 8b 20 76 65 6e  | 2=0 ven=1 . ven|
00001280  3d 30 0d 07 26 48 e7 20  76 65 6e 3d 31 20 f1 bd  |=0..&H. ven=1 ..|
00001290  31 33 31 22 59 6f 75 20  61 72 65 20 70 6c 61 79  |131"You are play|
000012a0  69 6e 67 20 61 74 20 68  6f 6d 65 22 20 8b 20 f1  |ing at home" . .|
000012b0  bd 31 33 31 22 59 6f 75  20 61 72 65 20 70 6c 61  |.131"You are pla|
000012c0  79 69 6e 67 20 61 77 61  79 22 0d 07 30 34 f1 27  |ying away"..04.'|
000012d0  27 bd 31 33 32 22 50 72  65 73 73 20 50 20 74 6f  |'.132"Press P to|
000012e0  20 70 6c 61 79 20 6d 61  74 63 68 20 6f 72 20 53  | play match or S|
000012f0  20 74 6f 20 70 69 63 6b  20 74 65 61 6d 22 0d 07  | to pick team"..|
00001300  3a 1d f5 20 59 24 3d bd  28 a5 80 26 35 46 29 3a  |:.. Y$=.(..&5F):|
00001310  fd 20 a7 22 50 53 22 2c  59 24 29 0d 07 44 12 e7  |. ."PS",Y$)..D..|
00001320  20 59 24 3d 22 53 22 20  e5 8d 44 62 47 0d 07 4e  | Y$="S" ..DbG..N|
00001330  38 e7 20 70 69 63 6b 65  64 3e 31 31 20 59 24 3d  |8. picked>11 Y$=|
00001340  22 53 22 3a f1 22 54 72  79 20 31 31 20 6f 72 20  |"S":."Try 11 or |
00001350  6c 65 73 73 20 70 6c 61  79 65 72 73 20 6e 6f 77  |less players now|
00001360  22 3a f2 70 72 0d 07 58  76 e7 20 70 69 63 6b 65  |":.pr..Xv. picke|
00001370  64 3c 31 31 20 f1 bd 31  33 35 22 59 6f 75 20 68  |d<11 ..135"You h|
00001380  61 76 65 20 74 6f 20 66  69 65 6c 64 20 73 6f 6d  |ave to field som|
00001390  65 20 69 6e 65 78 70 65  72 69 65 6e 63 65 64 22  |e inexperienced"|
000013a0  27 bd 31 33 35 22 72 65  73 65 72 76 65 73 20 74  |'.135"reserves t|
000013b0  6f 20 6d 61 6b 65 20 75  70 20 6e 75 6d 62 65 72  |o make up number|
000013c0  73 2e 22 3a 6d 6c 25 3d  6d 6c 25 2d 34 3a e7 20  |s.":ml%=ml%-4:. |
000013d0  6d 6c 25 3c 30 20 6d 6c  25 3d 30 0d 07 62 11 e7  |ml%<0 ml%=0..b..|
000013e0  20 59 24 3d 22 53 22 20  58 25 3d 31 0d 07 6c 05  | Y$="S" X%=1..l.|
000013f0  e1 0d 07 76 16 dd f2 6c  6e 3a db 3a 63 61 25 3d  |...v...ln:.:ca%=|
00001400  63 61 25 2d 6c 6e 25 0d  07 80 27 e8 27 22 48 6f  |ca%-ln%...'.'"Ho|
00001410  77 20 62 69 67 20 61 20  6c 6f 61 6e 20 64 6f 20  |w big a loan do |
00001420  79 6f 75 20 77 61 6e 74  22 2c 6c 6f 61 25 0d 07  |you want",loa%..|
00001430  8a 7c e7 20 6c 6f 61 25  3e 28 28 35 2d 44 69 25  |.|. loa%>((5-Di%|
00001440  29 2a 31 30 30 30 30 30  29 20 f1 bd 31 33 30 22  |)*100000) ..130"|
00001450  54 68 65 20 62 61 6e 6b  20 77 69 6c 6c 20 6f 6e  |The bank will on|
00001460  6c 79 20 6c 65 6e 64 20  75 70 20 74 6f 20 60 22  |ly lend up to `"|
00001470  3b 28 35 2d 44 69 25 29  2a 31 30 30 30 30 30 27  |;(5-Di%)*100000'|
00001480  bd 31 33 30 22 20 74 6f  20 61 20 74 65 61 6d 20  |.130" to a team |
00001490  69 6e 20 64 69 76 69 73  69 6f 6e 20 22 3b 44 69  |in division ";Di|
000014a0  25 22 2e 22 3a e5 8d 74  68 47 0d 07 94 27 e7 20  |%".":..thG...'. |
000014b0  6c 6f 61 25 3c 30 20 f1  bd 31 33 30 22 54 68 61  |loa%<0 ..130"Tha|
000014c0  74 27 73 20 73 69 6c 6c  79 2e 22 3a e5 8d 74 68  |t's silly.":..th|
000014d0  47 0d 07 9e 25 6c 6e 25  3d 6c 6f 61 25 3a 77 6c  |G...%ln%=loa%:wl|
000014e0  25 3d 6c 6e 25 2a 30 2e  30 32 3a 63 61 25 3d 63  |%=ln%*0.02:ca%=c|
000014f0  61 25 2b 6c 6e 25 0d 07  a8 09 f2 70 72 3a e1 0d  |a%+ln%.....pr:..|
00001500  07 b2 08 dd f2 74 72 0d  07 bc 2e e7 20 6e 73 25  |.....tr..... ns%|
00001510  3d 31 38 20 f1 27 27 bd  31 33 33 22 59 6f 75 72  |=18 .''.133"Your|
00001520  20 73 71 75 61 64 20 69  73 20 66 75 6c 6c 22 3a  | squad is full":|
00001530  f2 70 72 3a e1 0d 07 c6  1f db 3a f1 22 4e 61 6d  |.pr:......:."Nam|
00001540  65 22 89 39 22 53 6b 69  6c 6c 22 89 36 22 50 72  |e".9"Skill".6"Pr|
00001550  69 63 65 22 0d 07 d0 0f  e3 20 58 25 3d 31 20 b8  |ice"..... X%=1 .|
00001560  20 35 30 0d 07 da 1b e7  58 25 3d 31 20 f1 bd 31  | 50.....X%=1 ..1|
00001570  32 39 89 31 31 22 44 45  46 45 4e 53 45 22 0d 07  |29.11"DEFENSE"..|
00001580  e4 1c e7 58 25 3d 31 37  f1 bd 31 33 30 89 31 31  |...X%=17..130.11|
00001590  22 4d 49 44 46 49 45 4c  44 22 0d 07 ee 1a e7 58  |"MIDFIELD".....X|
000015a0  25 3d 33 35 f1 bd 31 33  31 89 31 32 22 41 54 54  |%=35..131.12"ATT|
000015b0  41 43 4b 22 0d 07 f8 45  e7 20 53 28 58 25 29 3d  |ACK"...E. S(X%)=|
000015c0  34 20 f1 bd 31 33 30 3b  58 25 bd 31 32 39 8a 35  |4 ..130;X%.129.5|
000015d0  29 70 6c 24 28 58 25 29  8a 31 35 29 bd 31 33 31  |)pl$(X%).15).131|
000015e0  3b 70 73 28 58 25 29 bd  31 33 32 8a 32 35 29 22  |;ps(X%).132.25)"|
000015f0  60 22 3b 70 70 28 58 25  29 0d 08 02 05 ed 0d 08  |`";pp(X%).......|
00001600  0c 54 f1 27 bd 31 33 32  22 54 79 70 65 20 70 6c  |.T.'.132"Type pl|
00001610  61 79 65 72 73 20 6e 75  6d 62 65 72 20 79 6f 75  |ayers number you|
00001620  20 77 69 73 68 20 74 6f  20 62 75 79 20 6f 72 22  | wish to buy or"|
00001630  27 bd 31 33 32 22 20 30  20 74 6f 20 6c 65 61 76  |'.132" 0 to leav|
00001640  65 20 74 72 61 6e 73 66  65 72 20 6d 61 72 6b 65  |e transfer marke|
00001650  74 22 0d 08 16 15 f5 e8  58 25 3a fd 58 25 3e 2d  |t"......X%:.X%>-|
00001660  31 80 58 25 3c 35 31 0d  08 20 0c e7 20 58 25 3d  |1.X%<51.. .. X%=|
00001670  30 20 e1 0d 08 2a 33 e7  20 53 28 58 25 29 3c 3e  |0 ...*3. S(X%)<>|
00001680  34 20 f1 bd 31 33 30 70  6c 24 28 58 25 29 22 20  |4 ..130pl$(X%)" |
00001690  69 73 20 6e 6f 74 20 66  6f 72 20 73 61 6c 65 22  |is not for sale"|
000016a0  3a f2 70 72 3a e1 0d 08  34 20 e8 22 57 68 61 74  |:.pr:...4 ."What|
000016b0  20 77 69 6c 6c 20 79 6f  75 20 6f 66 66 65 72 22  | will you offer"|
000016c0  2c 6f 66 66 65 72 0d 08  3e 86 e7 20 6f 66 66 65  |,offer..>.. offe|
000016d0  72 3c 70 70 28 58 25 29  2b b3 28 31 30 30 30 30  |r<pp(X%)+.(10000|
000016e0  29 2d b3 28 31 30 30 30  30 29 20 f1 bd 31 32 39  |)-.(10000) ..129|
000016f0  22 59 6f 75 72 20 6f 66  66 65 72 20 6f 66 20 22  |"Your offer of "|
00001700  3b 6f 66 66 65 72 22 20  66 6f 72 20 22 70 6c 24  |;offer" for "pl$|
00001710  28 58 25 29 27 bd 31 32  39 22 20 68 61 73 20 62  |(X%)'.129" has b|
00001720  65 65 6e 20 72 65 6a 65  63 74 65 64 2e 22 3a 70  |een rejected.":p|
00001730  70 28 58 25 29 3d 70 70  28 58 25 29 2b 31 30 30  |p(X%)=pp(X%)+100|
00001740  30 30 3a f2 70 72 3a e5  8d 64 46 47 0d 08 48 40  |00:.pr:..dFG..H@|
00001750  e7 20 6f 66 66 65 72 3e  63 61 25 2b 6c 6e 25 20  |. offer>ca%+ln% |
00001760  f1 bd 31 33 30 22 59 6f  75 20 64 6f 6e 27 74 20  |..130"You don't |
00001770  68 61 76 65 20 65 6e 6f  75 67 68 20 6d 6f 6e 65  |have enough mone|
00001780  79 22 3a f2 70 72 3a e5  8d 64 46 47 0d 08 52 3a  |y":.pr:..dFG..R:|
00001790  63 61 25 3d 63 61 25 2d  6f 66 66 65 72 3a f1 bd  |ca%=ca%-offer:..|
000017a0  31 32 39 70 6c 24 28 58  25 29 22 20 68 61 73 20  |129pl$(X%)" has |
000017b0  6e 6f 77 20 6a 6f 69 6e  65 64 20 79 6f 75 72 20  |now joined your |
000017c0  73 71 75 61 64 22 0d 08  5c 11 53 28 58 25 29 3d  |squad"..\.S(X%)=|
000017d0  32 3a f2 70 72 3a e1 0d  08 66 2d dd f2 77 6b 3a  |2:.pr:...f-..wk:|
000017e0  f1 27 bd 31 32 39 bd 31  33 36 22 50 6c 65 61 73  |.'.129.136"Pleas|
000017f0  65 20 77 61 69 74 20 61  20 6d 6f 6d 65 6e 74 2e  |e wait a moment.|
00001800  2e 2e 22 3b 0d 08 70 1d  74 6d 24 3d 74 6d 24 28  |..";..p.tm$=tm$(|
00001810  77 6b 25 2b 28 28 44 69  25 2d 31 29 2a 31 35 29  |wk%+((Di%-1)*15)|
00001820  29 0d 08 7a 15 e7 20 72  74 25 3e 31 30 30 20 72  |)..z.. rt%>100 r|
00001830  74 25 3d 31 30 30 0d 08  84 11 e7 20 72 74 25 3c  |t%=100..... rt%<|
00001840  30 20 72 74 25 3d 30 0d  08 8e 1f 63 61 25 3d 63  |0 rt%=0....ca%=c|
00001850  61 25 2d 77 6c 25 2a 31  2e 32 3a 6c 6e 25 3d 6c  |a%-wl%*1.2:ln%=l|
00001860  6e 25 2d 77 6c 25 0d 08  98 14 e7 20 6d 6c 25 3c  |n%-wl%..... ml%<|
00001870  34 20 f2 77 61 6c 6b 6f  75 74 0d 08 a2 19 e7 20  |4 .walkout..... |
00001880  63 61 25 2d 6c 6e 25 3c  2d 35 30 30 30 30 30 20  |ca%-ln%<-500000 |
00001890  f2 62 72 0d 08 ac 1c e7  20 6d 6c 25 3c 34 20 e7  |.br..... ml%<4 .|
000018a0  20 b3 28 72 74 25 29 3c  35 20 f2 73 61 63 6b 0d  | .(rt%)<5 .sack.|
000018b0  08 b6 21 e3 20 58 25 3d  31 20 b8 20 35 30 3a e7  |..!. X%=1 . 50:.|
000018c0  20 53 28 58 25 29 3d 34  20 53 28 58 25 29 3d 30  | S(X%)=4 S(X%)=0|
000018d0  0d 08 c0 2e 4d 28 58 25  29 3d 4d 28 58 25 29 2b  |....M(X%)=M(X%)+|
000018e0  b3 28 31 30 29 2d b3 28  31 30 29 3a 59 25 3d 70  |.(10)-.(10):Y%=p|
000018f0  73 28 58 25 29 2a 4d 28  58 25 29 2f 36 30 0d 08  |s(X%)*M(X%)/60..|
00001900  ca 2d 70 70 28 58 25 29  3d 59 25 2a 35 30 30 30  |.-pp(X%)=Y%*5000|
00001910  30 2a 28 35 2d 44 69 25  29 2b b3 28 31 30 30 30  |0*(5-Di%)+.(1000|
00001920  30 29 2d b3 28 31 30 30  30 30 29 0d 08 d4 17 e7  |0)-.(10000).....|
00001930  20 70 73 28 58 25 29 3e  35 20 70 73 28 58 25 29  | ps(X%)>5 ps(X%)|
00001940  3d 35 0d 08 de 1f e7 20  b3 28 34 30 29 3d 31 20  |=5..... .(40)=1 |
00001950  80 20 53 28 58 25 29 3d  31 20 53 28 58 25 29 3d  |. S(X%)=1 S(X%)=|
00001960  33 0d 08 e8 16 e7 20 4d  28 58 25 29 3c 30 20 4d  |3..... M(X%)<0 M|
00001970  28 58 25 29 3d 31 30 0d  08 f2 19 e7 20 4d 28 58  |(X%)=10..... M(X|
00001980  25 29 3e 31 35 30 20 4d  28 58 25 29 3d 31 35 30  |%)>150 M(X%)=150|
00001990  0d 08 fc 1e e7 20 70 70  28 58 25 29 3c 34 30 30  |..... pp(X%)<400|
000019a0  30 20 70 70 28 58 25 29  3d 31 30 30 30 30 0d 09  |0 pp(X%)=10000..|
000019b0  06 05 ed 0d 09 10 12 e3  20 58 25 3d 31 20 b8 20  |........ X%=1 . |
000019c0  b3 28 31 30 29 0d 09 1a  21 f5 59 25 3d b3 28 35  |.(10)...!.Y%=.(5|
000019d0  30 29 3a fd 20 53 28 59  25 29 3d 30 20 84 20 53  |0):. S(Y%)=0 . S|
000019e0  28 59 25 29 3d 34 0d 09  24 19 53 28 59 25 29 3d  |(Y%)=4..$.S(Y%)=|
000019f0  34 3a ed 3a e3 20 58 25  3d 31 20 b8 20 35 30 0d  |4:.:. X%=1 . 50.|
00001a00  09 2e 2c e7 20 53 28 58  25 29 3d 33 20 4d 28 58  |..,. S(X%)=3 M(X|
00001a10  25 29 3d 4d 28 58 25 29  2d 35 3a e7 20 b3 28 35  |%)=M(X%)-5:. .(5|
00001a20  29 3d 31 20 53 28 58 25  29 3d 32 0d 09 38 05 ed  |)=1 S(X%)=2..8..|
00001a30  0d 09 42 05 e1 0d 09 4c  0d dd 20 f2 73 61 63 6b  |..B....L.. .sack|
00001a40  3a db 0d 09 56 5e f1 bd  31 33 31 22 59 6f 75 72  |:...V^..131"Your|
00001a50  20 6a 6f 62 20 69 73 20  69 6e 20 64 61 6e 67 65  | job is in dange|
00001a60  72 20 64 75 65 20 74 6f  20 79 6f 75 72 20 6c 61  |r due to your la|
00001a70  63 6b 22 27 bd 31 33 31  22 6f 66 20 73 75 63 63  |ck"'.131"of succ|
00001a80  65 73 73 2c 20 74 68 65  20 43 68 61 69 72 6d 61  |ess, the Chairma|
00001a90  6e 20 63 61 6c 6c 73 20  79 6f 75 20 69 6e 3a 22  |n calls you in:"|
00001aa0  0d 09 60 1c 58 25 3d b3  28 72 74 25 29 3a e3 20  |..`.X%=.(rt%):. |
00001ab0  5a 3d 31 20 b8 20 31 30  30 30 3a ed 0d 09 6a 37  |Z=1 . 1000:...j7|
00001ac0  e7 20 58 25 3c 3e 31 20  f1 bd 31 33 30 89 36 22  |. X%<>1 ..130.6"|
00001ad0  41 6e 64 20 68 65 20 74  65 6c 6c 73 20 79 6f 75  |And he tells you|
00001ae0  20 74 6f 20 69 6d 70 72  6f 76 65 21 22 3a f2 70  | to improve!":.p|
00001af0  72 3a e1 0d 09 74 25 f1  bd 31 32 39 89 31 30 22  |r:...t%..129.10"|
00001b00  41 6e 64 20 68 65 20 73  61 63 6b 73 20 79 6f 75  |And he sacks you|
00001b10  21 22 3a f2 70 72 3a f9  0d 09 7e 10 dd f2 73 70  |!":.pr:...~...sp|
00001b20  3a f5 20 db 3a f2 6c 70  0d 09 88 45 f1 bd 31 32  |:. .:.lp...E..12|
00001b30  39 22 54 79 70 65 20 70  6c 61 79 65 72 20 6e 75  |9"Type player nu|
00001b40  6d 62 65 72 20 74 6f 20  62 65 20 73 6f 6c 64 22  |mber to be sold"|
00001b50  27 bd 31 32 39 22 20 6f  72 20 52 65 74 75 72 6e  |'.129" or Return|
00001b60  20 74 6f 20 63 6f 6e 74  69 6e 75 65 22 0d 09 92  | to continue"...|
00001b70  15 f5 e8 58 25 3a fd 58  25 3e 2d 31 80 58 25 3c  |...X%:.X%>-1.X%<|
00001b80  35 31 0d 09 9c 11 e7 20  58 25 3d 30 20 8c 20 8d  |51..... X%=0 . .|
00001b90  64 4e 49 0d 09 a6 40 e7  20 53 28 58 25 29 3d 30  |dNI...@. S(X%)=0|
00001ba0  20 84 20 53 28 58 25 29  3d 34 20 f1 bd 31 32 39  | . S(X%)=4 ..129|
00001bb0  22 59 6f 75 20 64 6f 20  6e 6f 74 20 68 61 76 65  |"You do not have|
00001bc0  20 22 70 6c 24 28 58 25  29 3a f2 70 72 3a e5 8d  | "pl$(X%):.pr:..|
00001bd0  64 4e 49 0d 09 b0 47 6f  66 66 65 72 3d 70 70 28  |dNI...Goffer=pp(|
00001be0  58 25 29 2b b3 28 31 30  30 30 30 29 2d b3 28 31  |X%)+.(10000)-.(1|
00001bf0  30 30 30 30 29 3a f1 74  6d 24 28 b3 28 36 30 29  |0000):.tm$(.(60)|
00001c00  2b 31 29 22 20 68 61 76  65 20 6f 66 66 65 72 65  |+1)" have offere|
00001c10  64 20 60 22 3b 6f 66 66  65 72 0d 09 ba 52 f1 bd  |d `";offer...R..|
00001c20  31 32 39 22 44 6f 20 79  6f 75 20 61 63 63 65 70  |129"Do you accep|
00001c30  74 20 74 68 69 73 28 59  2f 4e 29 22 3a 41 24 3d  |t this(Y/N)":A$=|
00001c40  bd 28 a5 80 26 35 46 29  3a e7 20 41 24 3c 3e 22  |.(..&5F):. A$<>"|
00001c50  59 22 20 70 70 28 58 25  29 3d 70 70 28 58 25 29  |Y" pp(X%)=pp(X%)|
00001c60  2d 31 30 30 30 30 3a e5  8d 64 4e 49 0d 09 c4 19  |-10000:..dNI....|
00001c70  53 28 58 25 29 3d 30 3a  63 61 25 3d 63 61 25 2b  |S(X%)=0:ca%=ca%+|
00001c80  6f 66 66 65 72 0d 09 ce  0c fd 20 58 25 3d 30 3a  |offer..... X%=0:|
00001c90  e1 0d 09 d8 16 dd f2 65  73 3a db 3a e3 20 58 25  |.......es:.:. X%|
00001ca0  3d 32 20 b8 20 31 36 0d  09 e2 96 e7 20 50 28 58  |=2 . 16..... P(X|
00001cb0  25 29 3c 33 20 80 20 44  69 25 3c 3e 31 20 f1 74  |%)<3 . Di%<>1 .t|
00001cc0  6d 24 28 58 25 2b 28 44  69 25 2d 31 29 2a 31 35  |m$(X%+(Di%-1)*15|
00001cd0  29 22 20 61 72 65 20 70  72 6f 6d 6f 74 65 64 22  |)" are promoted"|
00001ce0  3a 59 25 3d b3 28 31 36  29 3a 74 6d 24 3d 74 6d  |:Y%=.(16):tm$=tm|
00001cf0  24 28 58 25 2b 28 44 69  25 2d 31 29 2a 31 35 29  |$(X%+(Di%-1)*15)|
00001d00  3a 74 6d 24 28 58 25 2b  28 44 69 25 2d 31 29 2a  |:tm$(X%+(Di%-1)*|
00001d10  31 35 29 3d 74 6d 24 28  59 25 2b 28 44 69 25 2d  |15)=tm$(Y%+(Di%-|
00001d20  32 29 2a 31 35 29 3a 74  6d 24 28 59 25 2b 28 44  |2)*15):tm$(Y%+(D|
00001d30  69 25 2d 32 29 2a 31 35  29 3d 74 6d 24 0d 09 ec  |i%-2)*15)=tm$...|
00001d40  11 ed 3a e3 20 58 25 3d  32 20 b8 20 31 36 0d 09  |..:. X%=2 . 16..|
00001d50  f6 94 e7 20 50 28 58 25  29 3e 31 34 20 80 20 44  |... P(X%)>14 . D|
00001d60  69 25 3c 3e 34 20 f1 74  6d 24 28 58 25 2b 28 44  |i%<>4 .tm$(X%+(D|
00001d70  69 25 2d 31 29 2a 31 35  29 22 20 61 72 65 20 72  |i%-1)*15)" are r|
00001d80  65 6c 65 67 61 74 65 64  22 3a 59 25 3d b3 28 31  |elegated":Y%=.(1|
00001d90  36 29 3a 74 6d 24 3d 74  6d 24 28 58 25 2b 28 44  |6):tm$=tm$(X%+(D|
00001da0  69 25 2d 31 29 2a 31 35  29 3a 74 6d 24 28 58 25  |i%-1)*15):tm$(X%|
00001db0  2b 28 44 69 25 2d 31 29  2a 31 35 29 3d 74 6d 24  |+(Di%-1)*15)=tm$|
00001dc0  28 59 25 2b 28 44 69 25  29 2a 31 35 29 3a 74 6d  |(Y%+(Di%)*15):tm|
00001dd0  24 28 59 25 2b 28 44 69  25 29 2a 31 35 29 3d 74  |$(Y%+(Di%)*15)=t|
00001de0  6d 24 0d 0a 00 05 ed 0d  0a 0a 48 e7 20 50 28 31  |m$........H. P(1|
00001df0  29 3e 31 34 20 80 20 44  69 25 3c 3e 34 20 f1 22  |)>14 . Di%<>4 ."|
00001e00  59 6f 75 20 61 72 65 20  72 65 6c 65 67 61 74 65  |You are relegate|
00001e10  64 20 74 6f 20 44 69 76  69 73 69 6f 6e 20 22 3b  |d to Division ";|
00001e20  44 69 25 2b 31 3a 44 69  25 3d 44 69 25 2b 31 0d  |Di%+1:Di%=Di%+1.|
00001e30  0a 14 3c e7 20 50 28 31  29 3c 33 20 80 20 44 69  |..<. P(1)<3 . Di|
00001e40  25 3c 3e 31 20 f1 22 59  6f 75 20 61 72 65 20 70  |%<>1 ."You are p|
00001e50  72 6f 6d 6f 74 65 64 20  74 6f 20 44 69 76 69 73  |romoted to Divis|
00001e60  69 6f 6e 20 22 3b 44 69  25 2d 31 0d 0a 1e 36 e7  |ion ";Di%-1...6.|
00001e70  20 50 28 31 29 3c 33 20  63 61 25 3d 63 61 25 2b  | P(1)<3 ca%=ca%+|
00001e80  31 30 30 30 30 30 2a 28  35 2d 44 69 25 29 3a e7  |100000*(5-Di%):.|
00001e90  20 44 69 25 3c 3e 31 20  44 69 25 3d 44 69 25 2d  | Di%<>1 Di%=Di%-|
00001ea0  31 0d 0a 28 24 72 74 25  3d 72 74 25 2b 38 2d 50  |1..($rt%=rt%+8-P|
00001eb0  28 31 29 3a e7 20 72 74  25 3e 31 30 30 20 72 74  |(1):. rt%>100 rt|
00001ec0  25 3d 31 30 30 0d 0a 32  11 e7 20 72 74 25 3c 30  |%=100..2.. rt%<0|
00001ed0  20 72 74 25 3d 30 0d 0a  3c 13 79 72 25 3d 79 72  | rt%=0..<.yr%=yr|
00001ee0  25 2b 31 3a f2 70 72 3a  e1 0d 0a 46 08 dd f2 68  |%+1:.pr:...F...h|
00001ef0  66 0d 0a 50 28 63 68 25  3d b3 28 6d 64 25 29 2d  |f..P(ch%=.(md%)-|
00001f00  b3 28 6f 6d 25 2a 32 29  3a e7 20 63 68 25 3c 31  |.(om%*2):. ch%<1|
00001f10  20 63 68 25 3d b3 28 33  29 0d 0a 5a 28 6f 63 25  | ch%=.(3)..Z(oc%|
00001f20  3d b3 28 6f 6d 25 29 2d  b3 28 6d 64 25 2a 32 29  |=.(om%)-.(md%*2)|
00001f30  3a e7 20 6f 63 25 3c 31  20 6f 63 25 3d b3 28 33  |:. oc%<1 oc%=.(3|
00001f40  29 0d 0a 64 27 67 6c 25  3d b3 28 61 74 25 29 2d  |)..d'gl%=.(at%)-|
00001f50  b3 28 6f 64 25 29 3a e7  20 67 6c 25 3e 63 68 25  |.(od%):. gl%>ch%|
00001f60  20 67 6c 25 3d 63 68 25  0d 0a 6e 27 6f 67 25 3d  | gl%=ch%..n'og%=|
00001f70  b3 28 6f 61 25 29 2d b3  28 64 66 25 29 3a e7 20  |.(oa%)-.(df%):. |
00001f80  6f 67 25 3e 6f 63 25 20  6f 67 25 3d 6f 63 25 0d  |og%>oc% og%=oc%.|
00001f90  0a 78 11 e7 20 67 6c 25  3c 30 20 67 6c 25 3d 30  |.x.. gl%<0 gl%=0|
00001fa0  0d 0a 82 11 e7 20 6f 67  25 3c 30 20 6f 67 25 3d  |..... og%<0 og%=|
00001fb0  30 0d 0a 8c 05 e1 0d 0a  96 08 dd f2 77 6f 0d 0a  |0...........wo..|
00001fc0  a0 3f e7 20 67 6c 25 3e  6f 67 25 20 50 31 28 31  |.?. gl%>og% P1(1|
00001fd0  29 3d 50 31 28 31 29 2b  33 3a 6d 6c 25 3d 6d 6c  |)=P1(1)+3:ml%=ml|
00001fe0  25 2b 32 3a 72 74 25 3d  72 74 25 2b 33 3a e7 20  |%+2:rt%=rt%+3:. |
00001ff0  6d 6c 25 3e 32 30 20 6d  6c 25 3d 32 30 0d 0a aa  |ml%>20 ml%=20...|
00002000  33 e7 20 6f 67 25 3e 67  6c 25 20 50 31 28 77 6b  |3. og%>gl% P1(wk|
00002010  25 29 3d 50 31 28 77 6b  25 29 2b 33 3a 6d 6c 25  |%)=P1(wk%)+3:ml%|
00002020  3d 6d 6c 25 2d 31 3a 72  74 25 3d 72 74 25 2d 32  |=ml%-1:rt%=rt%-2|
00002030  0d 0a b4 41 e7 20 67 6c  25 3d 6f 67 25 20 6d 6c  |...A. gl%=og% ml|
00002040  25 3d 6d 6c 25 2d 31 3a  72 74 25 3d 72 74 25 2b  |%=ml%-1:rt%=rt%+|
00002050  31 3a 50 31 28 77 6b 25  29 3d 50 31 28 77 6b 25  |1:P1(wk%)=P1(wk%|
00002060  29 2b 31 3a 50 31 28 31  29 3d 50 31 28 31 29 2b  |)+1:P1(1)=P1(1)+|
00002070  31 0d 0a be 1f 46 28 31  29 3d 46 28 31 29 2b 67  |1....F(1)=F(1)+g|
00002080  6c 25 3a 41 28 31 29 3d  41 28 31 29 2b 6f 67 25  |l%:A(1)=A(1)+og%|
00002090  0d 0a c8 27 46 28 77 6b  25 29 3d 46 28 77 6b 25  |...'F(wk%)=F(wk%|
000020a0  29 2b 6f 67 25 3a 41 28  77 6b 25 29 3d 41 28 77  |)+og%:A(wk%)=A(w|
000020b0  6b 25 29 2b 67 6c 25 0d  0a d2 1e e7 6d 6c 25 3c  |k%)+gl%.....ml%<|
000020c0  30 6d 6c 25 3d 30 20 8b  e7 6d 6c 25 3e 32 30 6d  |0ml%=0 ..ml%>20m|
000020d0  6c 25 3d 32 30 0d 0a dc  20 e7 72 74 25 3c 30 72  |l%=20... .rt%<0r|
000020e0  74 25 3d 30 20 8b e7 72  74 25 3e 31 30 30 72 74  |t%=0 ..rt%>100rt|
000020f0  25 3d 31 30 30 0d 0a e6  1f f1 27 bd 31 32 39 22  |%=100.....'.129"|
00002100  54 68 65 20 66 69 6e 61  6c 20 73 63 6f 72 65 20  |The final score |
00002110  69 73 3a 22 0d 0a f0 29  f1 27 bd 31 33 31 74 6d  |is:"...).'.131tm|
00002120  24 28 31 29 89 31 3b 67  6c 25 8a 32 30 29 74 6d  |$(1).1;gl%.20)tm|
00002130  24 89 31 3b 6f 67 25 3a  f2 70 72 3a e1 0d 0a fa  |$.1;og%:.pr:....|
00002140  11 dd f2 73 6b 3a db 3a  f7 20 8d 54 50 4e 0d 0b  |...sk:.:. .TPN..|
00002150  04 14 e3 20 5a 25 3d 30  20 b8 20 39 3a f3 20 73  |... Z%=0 . 9:. s|
00002160  6b 24 0d 0b 0e 17 f1 89  33 bd 31 34 31 bd 31 33  |k$......3.141.13|
00002170  35 3b 5a 25 89 32 73 6b  24 0d 0b 18 17 f1 89 33  |5;Z%.2sk$......3|
00002180  bd 31 34 31 bd 31 33 34  3b 5a 25 89 32 73 6b 24  |.141.134;Z%.2sk$|
00002190  0d 0b 22 1d ed 3a f1 27  8a 36 29 bd 31 33 30 22  |.."..:.'.6).130"|
000021a0  57 68 61 74 20 73 6b 69  6c 6c 3f 22 3b 0d 0b 2c  |What skill?";..,|
000021b0  22 f5 20 41 24 3d be 3a  fd a7 22 30 31 32 33 34  |". A$=.:.."01234|
000021c0  35 36 37 38 39 22 2c 41  24 29 3a f1 41 24 3b 0d  |56789",A$):.A$;.|
000021d0  0b 36 0d 73 6b 25 3d bb  41 24 3a e1 0d 0b 40 0a  |.6.sk%=.A$:...@.|
000021e0  dd f2 73 74 3a db 0d 0b  4a 1d f1 bd 31 33 30 22  |..st:...J...130"|
000021f0  54 65 61 6d 20 70 69 63  6b 65 64 3a 22 74 6d 24  |Team picked:"tm$|
00002200  28 31 29 0d 0b 54 1a f1  bd 31 33 30 22 4d 61 6e  |(1)..T...130"Man|
00002210  61 67 65 72 20 20 20 20  3a 22 6d 6e 24 0d 0b 5e  |ager    :"mn$..^|
00002220  2a f1 bd 31 33 30 22 52  61 74 69 6e 67 20 20 20  |*..130"Rating   |
00002230  20 20 3a 22 3b 72 74 25  8a 31 37 29 72 74 24 28  |  :";rt%.17)rt$(|
00002240  72 74 25 81 31 30 29 0d  0b 68 16 f1 27 bd 31 32  |rt%.10)..h..'.12|
00002250  39 22 43 61 73 68 3d 60  22 3b 63 61 25 0d 0b 72  |9"Cash=`";ca%..r|
00002260  15 f1 bd 31 32 39 22 4c  6f 61 6e 3d 60 22 3b 6c  |...129"Loan=`";l|
00002270  6e 25 0d 0b 7c 1c f1 27  bd 31 33 31 22 54 65 61  |n%..|..'.131"Tea|
00002280  6d 20 6d 6f 72 61 6c 65  3d 22 3b 6d 6c 25 0d 0b  |m morale=";ml%..|
00002290  86 1b f1 bd 31 33 31 22  53 6b 69 6c 6c 20 6c 65  |....131"Skill le|
000022a0  76 65 6c 3d 22 3b 73 6b  25 0d 0b 90 19 f1 27 bd  |vel=";sk%.....'.|
000022b0  31 33 34 22 44 69 76 69  73 69 6f 6e 3d 22 3b 44  |134"Division=";D|
000022c0  69 25 0d 0b 9a 23 f1 bd  31 33 34 22 50 6f 73 69  |i%...#..134"Posi|
000022d0  74 69 6f 6e 20 69 6e 20  6c 65 61 67 75 65 3d 22  |tion in league="|
000022e0  3b 50 28 31 29 0d 0b a4  2a f1 bd 31 33 34 22 4e  |;P(1)...*..134"N|
000022f0  75 6d 62 65 72 20 6f 66  20 70 6c 61 79 65 72 73  |umber of players|
00002300  20 69 6e 20 73 71 75 61  64 3d 22 3b 6e 73 25 0d  | in squad=";ns%.|
00002310  0b ae 15 f1 27 bd 31 33  33 22 59 65 61 72 3d 22  |....'.133"Year="|
00002320  3b 79 72 25 0d 0b b8 11  f1 bd 31 33 33 22 57 65  |;yr%......133"We|
00002330  65 6b 3d 22 3b 0d 0b c2  22 e7 20 6c 70 25 3d 31  |ek=";...". lp%=1|
00002340  20 f1 20 3b 77 6b 25 2d  31 20 8b 20 f1 20 3b 77  | . ;wk%-1 . . ;w|
00002350  6b 25 2d 31 2b 31 35 0d  0b cc 09 f2 70 72 3a e1  |k%-1+15.....pr:.|
00002360  0d 0b d6 0a dd f2 74 62  3a db 0d 0b e0 25 f1 8a  |......tb:....%..|
00002370  38 29 22 54 65 61 6d 22  8a 32 35 29 22 46 22 8a  |8)"Team".25)"F".|
00002380  33 30 29 22 41 22 8a 33  35 29 22 50 74 73 22 0d  |30)"A".35)"Pts".|
00002390  0b ea 1e e3 20 59 25 3d  31 20 b8 20 31 36 3a 50  |.... Y%=1 . 16:P|
000023a0  28 59 25 29 3d 30 3a ed  3a 42 25 3d 31 0d 0b f4  |(Y%)=0:.:B%=1...|
000023b0  1b e3 20 59 25 3d 31 20  b8 20 31 36 3a e3 20 58  |.. Y%=1 . 16:. X|
000023c0  25 3d 31 20 b8 20 31 36  0d 0b fe 53 e7 20 50 31  |%=1 . 16...S. P1|
000023d0  28 58 25 29 3e 50 31 28  42 25 29 20 84 20 50 31  |(X%)>P1(B%) . P1|
000023e0  28 58 25 29 3d 50 31 28  42 25 29 20 80 20 28 46  |(X%)=P1(B%) . (F|
000023f0  28 58 25 29 2d 41 28 58  25 29 2b 41 28 42 25 29  |(X%)-A(X%)+A(B%)|
00002400  2d 46 28 42 25 29 3e 30  29 20 8c 3a e7 20 50 28  |-F(B%)>0) .:. P(|
00002410  58 25 29 3d 30 20 42 25  3d 58 25 0d 0c 08 16 ed  |X%)=0 B%=X%.....|
00002420  3a f1 bd 31 33 32 3b 59  25 8a 34 29 bd 31 32 39  |:..132;Y%.4).129|
00002430  3b 0d 0c 12 36 e7 20 42  25 3d 31 20 f1 8a 35 29  |;...6. B%=1 ..5)|
00002440  bd 31 33 33 74 6d 24 28  31 29 3b 20 8b 20 f1 8a  |.133tm$(1); . ..|
00002450  36 29 74 6d 24 28 42 25  2b 28 28 44 69 25 2d 31  |6)tm$(B%+((Di%-1|
00002460  29 2a 31 35 29 29 3b 0d  0c 1c 2e f1 20 3b bd 31  |)*15));..... ;.1|
00002470  33 30 8a 32 35 29 3b 46  28 42 25 29 8a 33 30 29  |30.25);F(B%).30)|
00002480  3b 41 28 42 25 29 8a 33  35 29 bd 31 33 31 3b 50  |;A(B%).35).131;P|
00002490  31 28 42 25 29 0d 0c 26  13 50 28 42 25 29 3d 59  |1(B%)..&.P(B%)=Y|
000024a0  25 3a 42 25 3d 30 3a ed  0d 0c 30 4b f1 22 59 6f  |%:B%=0:...0K."Yo|
000024b0  75 20 61 72 65 20 69 6e  20 70 6f 73 69 74 69 6f  |u are in positio|
000024c0  6e 20 22 3b 50 28 31 29  22 20 61 66 74 65 72 20  |n ";P(1)" after |
000024d0  22 3b 3a e7 20 6c 70 25  3d 32 20 f1 20 3b 31 35  |";:. lp%=2 . ;15|
000024e0  2b 77 6b 25 2d 31 3b 20  8b 20 f1 20 3b 77 6b 25  |+wk%-1; . . ;wk%|
000024f0  2d 31 3b 0d 0c 3a 14 f1  20 22 20 67 61 6d 65 73  |-1;..:.. " games|
00002500  22 3a f2 70 72 3a e1 0d  0c 44 11 dd f2 64 61 3a  |":.pr:...D...da:|
00002510  5a 25 3d b3 28 2d 91 29  0d 0c 4e 56 de 20 72 74  |Z%=.(-.)..NV. rt|
00002520  24 28 31 30 29 2c 74 6d  24 28 36 31 29 2c 70 6c  |$(10),tm$(61),pl|
00002530  24 28 35 30 29 2c 70 73  28 35 30 29 2c 70 70 28  |$(50),ps(50),pp(|
00002540  36 30 29 2c 50 31 28 31  36 29 2c 58 28 31 36 29  |60),P1(16),X(16)|
00002550  2c 50 28 31 36 29 2c 46  28 31 36 29 2c 41 28 31  |,P(16),F(16),A(1|
00002560  36 29 2c 4d 28 35 30 29  2c 53 28 35 30 29 0d 0c  |6),M(50),S(50)..|
00002570  58 24 44 69 25 3d 34 3a  50 31 28 30 29 3d 2d 31  |X$Di%=4:P1(0)=-1|
00002580  30 3a 63 61 25 3d 34 30  30 30 30 30 3a 72 6e 25  |0:ca%=400000:rn%|
00002590  3d 31 0d 0c 62 22 6c 6e  25 3d 30 3a 77 6c 25 3d  |=1..b"ln%=0:wl%=|
000025a0  30 3a 72 74 25 3d 32 30  3a 73 6b 25 3d 36 3a 79  |0:rt%=20:sk%=6:y|
000025b0  72 25 3d 31 0d 0c 6c 11  6d 6c 25 3d 31 35 3a 6e  |r%=1..l.ml%=15:n|
000025c0  73 25 3d 31 35 0d 0c 76  0a f7 20 8d 54 46 4e 0d  |s%=15..v.. .TFN.|
000025d0  0c 80 0f e3 20 58 25 3d  30 20 b8 20 31 30 0d 0c  |.... X%=0 . 10..|
000025e0  8a 0f f3 20 72 74 24 28  58 25 29 3a ed 0d 0c 94  |... rt$(X%):....|
000025f0  16 f7 20 8d 64 40 4d 3a  e3 20 58 25 3d 32 20 b8  |.. .d@M:. X%=2 .|
00002600  20 36 31 0d 0c 9e 0f f3  20 74 6d 24 28 58 25 29  | 61..... tm$(X%)|
00002610  3a ed 0d 0c a8 16 f7 20  8d 64 68 4d 3a e3 20 58  |:...... .dhM:. X|
00002620  25 3d 31 20 b8 20 35 30  0d 0c b2 19 f3 20 70 6c  |%=1 . 50..... pl|
00002630  24 28 58 25 29 3a 70 73  28 58 25 29 3d b3 28 35  |$(X%):ps(X%)=.(5|
00002640  29 0d 0c bc 14 4d 28 58  25 29 3d b3 28 31 30 29  |)....M(X%)=.(10)|
00002650  2b 39 30 3a ed 0d 0c c6  11 e3 20 58 25 3d 31 20  |+90:...... X%=1 |
00002660  b8 20 31 35 3a f5 0d 0c  d0 16 59 25 3d b3 28 35  |. 15:.....Y%=.(5|
00002670  30 29 3a fd 20 53 28 59  25 29 3d 30 0d 0c da 15  |0):. S(Y%)=0....|
00002680  53 28 59 25 29 3d 31 3a  ed 3a 53 28 59 25 29 3d  |S(Y%)=1:.:S(Y%)=|
00002690  32 0d 0c e4 19 e3 58 25  3d 31 b8 31 36 3a 50 28  |2.....X%=1.16:P(|
000026a0  58 25 29 3d 58 25 3a ed  3a e1 0d 0c ee 0a dd f2  |X%)=X%:.:.......|
000026b0  6c 70 3a db 0d 0c f8 2c  f1 27 22 4e 75 6d 20 4e  |lp:....,.'"Num N|
000026c0  61 6d 65 22 89 36 22 53  6b 69 6c 6c 20 46 6f 72  |ame".6"Skill For|
000026d0  6d 20 20 53 74 61 74 65  20 20 50 72 69 63 65 22  |m  State  Price"|
000026e0  0d 0d 02 0f e3 20 58 25  3d 31 20 b8 20 35 30 0d  |..... X%=1 . 50.|
000026f0  0d 0c 1d e7 20 53 28 58  25 29 3d 30 20 84 20 53  |.... S(X%)=0 . S|
00002700  28 58 25 29 3d 34 20 e5  8d 54 7e 4d 0d 0d 16 25  |(X%)=4 ..T~M...%|
00002710  e7 20 58 25 3c 31 37 20  ef 31 32 39 20 8b e7 20  |. X%<17 .129 .. |
00002720  58 25 3c 33 35 20 ef 31  33 30 20 8b 20 ef 31 33  |X%<35 .130 . .13|
00002730  31 0d 0d 20 2a f1 89 31  3b 58 25 8a 34 29 70 6c  |1.. *..1;X%.4)pl|
00002740  24 28 58 25 29 8a 31 38  29 3b 70 73 28 58 25 29  |$(X%).18);ps(X%)|
00002750  8a 32 31 29 3b 4d 28 58  25 29 3b 0d 0d 2a 2f e7  |.21);M(X%);..*/.|
00002760  20 53 28 58 25 29 3d 31  20 5a 24 3d 22 50 22 20  | S(X%)=1 Z$="P" |
00002770  8b e7 20 53 28 58 25 29  3d 32 20 5a 24 3d 22 20  |.. S(X%)=2 Z$=" |
00002780  22 20 8b 20 5a 24 3d 22  49 22 0d 0d 34 1a f1 8a  |" . Z$="I"..4...|
00002790  32 36 29 5a 24 bd 31 33  33 22 20 60 22 3b 70 70  |26)Z$.133" `";pp|
000027a0  28 58 25 29 0d 0d 3e 07  ed 3a e1 0d 0d 48 0a dd  |(X%)..>..:...H..|
000027b0  f2 6e 73 3a db 0d 0d 52  1a f1 27 27 bd 31 32 39  |.ns:...R..''.129|
000027c0  89 31 32 22 4e 45 57 20  53 45 41 53 4f 4e 22 0d  |.12"NEW SEASON".|
000027d0  0d 5c 0f e3 20 58 25 3d  31 20 b8 20 35 30 0d 0d  |.\.. X%=1 . 50..|
000027e0  66 30 70 73 28 58 25 29  3d 70 73 28 58 25 29 2b  |f0ps(X%)=ps(X%)+|
000027f0  b3 28 32 29 2d b3 28 32  29 3a e7 20 70 73 28 58  |.(2)-.(2):. ps(X|
00002800  25 29 3c 3d 30 20 70 73  28 58 25 29 3d 31 0d 0d  |%)<=0 ps(X%)=1..|
00002810  70 17 e7 20 70 73 28 58  25 29 3e 35 20 70 73 28  |p.. ps(X%)>5 ps(|
00002820  58 25 29 3d 35 0d 0d 7a  12 4d 28 58 25 29 3d b3  |X%)=5..z.M(X%)=.|
00002830  28 35 30 29 2b 35 30 0d  0d 84 15 e7 20 53 28 58  |(50)+50..... S(X|
00002840  25 29 3d 33 20 53 28 58  25 29 3d 32 0d 0d 8e 21  |%)=3 S(X%)=2...!|
00002850  70 70 28 58 25 29 3d 70  73 28 58 25 29 2a 35 30  |pp(X%)=ps(X%)*50|
00002860  30 30 30 2a 28 35 2d 44  69 25 29 3a ed 0d 0d 98  |000*(5-Di%):....|
00002870  2a e3 20 58 25 3d 31 20  b8 20 31 36 3a 41 28 58  |*. X%=1 . 16:A(X|
00002880  25 29 3d 30 3a 46 28 58  25 29 3d 30 3a 50 31 28  |%)=0:F(X%)=0:P1(|
00002890  58 25 29 3d 30 3a ed 0d  0d a2 10 63 6f 3d 31 3a  |X%)=0:.....co=1:|
000028a0  72 6e 25 3d 31 3a e1 0d  0d ac 0e dd f2 70 72 3a  |rn%=1:.......pr:|
000028b0  2a 46 58 32 31 0d 0d b6  30 f1 27 bd 31 33 30 89  |*FX21...0.'.130.|
000028c0  28 35 29 22 50 72 65 73  73 20 61 6e 79 20 6b 65  |(5)"Press any ke|
000028d0  79 20 74 6f 20 63 6f 6e  74 69 6e 75 65 22 3a 41  |y to continue":A|
000028e0  24 3d be 3a e1 0d 0d c0  8a dc 20 41 72 73 65 6e  |$=.:...... Arsen|
000028f0  61 6c 2c 45 76 65 72 74  6f 6e 2c 54 6f 74 74 65  |al,Everton,Totte|
00002900  6e 68 61 6d 2c 4d 61 6e  20 55 74 64 2c 53 6f 75  |nham,Man Utd,Sou|
00002910  74 68 61 6d 70 74 6f 6e  2c 43 68 65 6c 73 65 61  |thampton,Chelsea|
00002920  2c 4c 69 76 65 72 70 6f  6f 6c 2c 4e 6f 74 74 73  |,Liverpool,Notts|
00002930  20 46 6f 72 65 73 74 2c  4e 65 77 63 61 73 74 6c  | Forest,Newcastl|
00002940  65 2c 51 50 52 2c 57 61  74 66 6f 72 64 2c 4c 65  |e,QPR,Watford,Le|
00002950  69 63 65 73 74 65 72 2c  49 70 73 77 69 63 68 2c  |icester,Ipswich,|
00002960  43 6f 76 65 6e 74 72 79  2c 4f 78 66 6f 72 64 0d  |Coventry,Oxford.|
00002970  0d ca a1 dc 20 53 74 6f  6b 65 2c 42 6c 61 63 6b  |.... Stoke,Black|
00002980  62 75 72 6e 2c 42 61 72  6e 73 6c 65 79 2c 50 6f  |burn,Barnsley,Po|
00002990  72 74 73 6d 6f 75 74 68  2c 42 69 72 6d 69 6e 67  |rtsmouth,Birming|
000029a0  68 61 6d 2c 4c 65 65 64  73 20 55 74 64 2c 4d 61  |ham,Leeds Utd,Ma|
000029b0  6e 20 43 69 74 79 2c 43  61 72 6c 69 73 6c 65 2c  |n City,Carlisle,|
000029c0  57 69 6d 62 6c 65 64 6f  6e 2c 43 68 61 72 6c 74  |Wimbledon,Charlt|
000029d0  6f 6e 2c 4f 6c 64 68 61  6d 2c 53 68 65 66 66 69  |on,Oldham,Sheffi|
000029e0  65 6c 64 20 55 74 64 2c  43 72 79 73 74 61 6c 20  |eld Utd,Crystal |
000029f0  50 61 6c 61 63 65 2c 43  61 72 64 69 66 66 20 43  |Palace,Cardiff C|
00002a00  69 74 79 2c 4e 6f 74 74  73 20 43 6f 75 6e 74 79  |ity,Notts County|
00002a10  0d 0d d4 9b dc 20 42 72  61 64 66 6f 72 64 2c 4d  |..... Bradford,M|
00002a20  69 6c 6c 77 61 6c 6c 2c  52 6f 74 68 65 72 68 61  |illwall,Rotherha|
00002a30  6d 20 55 74 64 2c 48 75  6c 6c 20 43 69 74 79 2c  |m Utd,Hull City,|
00002a40  42 72 69 73 74 6f 6c 20  52 6f 76 65 72 73 2c 44  |Bristol Rovers,D|
00002a50  65 72 62 79 20 43 6f 75  6e 74 79 2c 42 6f 75 72  |erby County,Bour|
00002a60  6e 65 6d 6f 75 74 68 2c  57 61 6c 73 61 6c 6c 2c  |nemouth,Walsall,|
00002a70  42 72 65 6e 74 66 6f 72  64 2c 52 65 61 64 69 6e  |Brentford,Readin|
00002a80  67 2c 4e 65 77 70 6f 72  74 2c 42 75 72 6e 6c 65  |g,Newport,Burnle|
00002a90  79 2c 50 6c 79 6d 6f 75  74 68 2c 4f 72 69 65 6e  |y,Plymouth,Orien|
00002aa0  74 2c 43 61 6d 62 72 69  64 67 65 0d 0d de 97 dc  |t,Cambridge.....|
00002ab0  20 43 68 65 73 74 65 72  66 69 65 6c 64 2c 42 75  | Chesterfield,Bu|
00002ac0  72 79 2c 44 61 72 6c 69  6e 67 74 6f 6e 2c 42 6c  |ry,Darlington,Bl|
00002ad0  61 63 6b 70 6f 6f 6c 2c  50 65 74 65 72 62 6f 72  |ackpool,Peterbor|
00002ae0  6f 75 67 68 2c 43 6f 6c  63 68 65 73 74 65 72 2c  |ough,Colchester,|
00002af0  54 72 61 6e 6d 65 72 65  2c 50 6f 72 74 20 56 61  |Tranmere,Port Va|
00002b00  6c 65 2c 53 77 69 6e 64  6f 6e 2c 53 6f 75 74 68  |le,Swindon,South|
00002b10  65 6e 64 2c 4d 61 6e 73  66 69 65 6c 64 2c 53 74  |end,Mansfield,St|
00002b20  6f 63 6b 70 6f 72 74 2c  45 78 65 74 65 72 2c 43  |ockport,Exeter,C|
00002b30  68 65 73 74 65 72 2c 57  72 65 78 68 61 6d 2c 3f  |hester,Wrexham,?|
00002b40  3f 3f 0d 0d e8 a2 dc 20  4a 2e 4c 75 6b 69 63 2c  |??..... J.Lukic,|
00002b50  52 2e 43 6c 65 6d 65 6e  63 65 2c 42 2e 47 72 6f  |R.Clemence,B.Gro|
00002b60  62 62 65 6c 61 61 72 2c  50 2e 53 68 69 6c 74 6f  |bbelaar,P.Shilto|
00002b70  6e 2c 54 2e 42 75 74 63  68 65 72 2c 56 2e 41 6e  |n,T.Butcher,V.An|
00002b80  64 65 72 73 6f 6e 2c 44  2e 4f 27 4c 65 61 72 79  |derson,D.O'Leary|
00002b90  2c 4d 2e 4c 61 77 72 65  6e 73 6f 6e 2c 54 2e 46  |,M.Lawrenson,T.F|
00002ba0  65 6e 77 69 63 6b 2c 41  2e 50 65 61 6b 2c 47 2e  |enwick,A.Peak,G.|
00002bb0  52 6f 62 65 72 74 73 2c  41 2e 4d 61 72 74 69 6e  |Roberts,A.Martin|
00002bc0  2c 54 2e 43 6f 74 74 6f  6e 2c 53 2e 57 61 6c 66  |,T.Cotton,S.Walf|
00002bd0  6f 72 64 2c 4b 2e 53 61  6d 73 6f 6e 2c 54 2e 41  |ord,K.Samson,T.A|
00002be0  64 61 6d 73 0d 0d f2 9f  dc 20 47 2e 52 69 78 2c  |dams..... G.Rix,|
00002bf0  42 2e 52 6f 62 73 6f 6e  2c 47 2e 48 6f 64 64 6c  |B.Robson,G.Hoddl|
00002c00  65 2c 4b 2e 44 61 6c 67  6c 69 73 68 2c 50 2e 44  |e,K.Dalglish,P.D|
00002c10  61 76 69 73 2c 53 2e 52  6f 62 73 6f 6e 2c 50 2e  |avis,S.Robson,P.|
00002c20  52 65 69 64 2c 52 2e 57  68 65 6c 65 6e 2c 4a 2e  |Reid,R.Whelen,J.|
00002c30  57 61 72 6b 2c 4a 2e 42  61 72 6e 65 73 2c 54 2e  |Wark,J.Barnes,T.|
00002c40  47 61 6c 76 69 6e 2c 47  2e 4d 61 62 62 75 74 2c  |Galvin,G.Mabbut,|
00002c50  53 2e 4e 69 63 6f 6c 2c  53 2e 4c 65 65 2c 50 2e  |S.Nicol,S.Lee,P.|
00002c60  4e 65 76 69 6e 2c 53 2e  57 69 6c 6c 69 61 6d 73  |Nevin,S.Williams|
00002c70  2c 47 2e 53 74 72 61 63  6b 65 6e 2c 4a 2e 4f 6c  |,G.Stracken,J.Ol|
00002c80  73 65 6e 0d 0d fc 9e dc  20 54 2e 57 6f 6f 64 63  |sen..... T.Woodc|
00002c90  6f 63 6b 2c 49 2e 41 6c  69 73 6f 6e 2c 43 2e 4e  |ock,I.Alison,C.N|
00002ca0  69 63 68 6f 6c 61 73 2c  50 2e 42 65 61 72 64 73  |icholas,P.Beards|
00002cb0  6c 79 2c 49 2e 52 75 73  68 2c 53 2e 53 74 61 69  |ly,I.Rush,S.Stai|
00002cc0  6e 72 6f 64 2c 44 2e 53  70 65 65 64 79 2c 54 2e  |nrod,D.Speedy,T.|
00002cd0  47 61 6c 76 69 6e 2c 50  2e 57 61 6c 73 68 2c 41  |Galvin,P.Walsh,A|
00002ce0  2e 47 72 61 79 2c 46 2e  53 74 61 70 6c 65 74 6f  |.Gray,F.Stapleto|
00002cf0  6e 2c 4d 2e 48 61 74 65  6c 79 2c 47 2e 4c 69 6e  |n,M.Hately,G.Lin|
00002d00  65 72 6b 65 72 2c 4c 2e  42 6c 69 73 73 65 74 74  |erker,L.Blissett|
00002d10  2c 4b 2e 44 69 78 6f 6e  2c 43 2e 57 61 64 64 6c  |,K.Dixon,C.Waddl|
00002d20  65 0d 0e 06 7f dc 20 41  70 70 61 6c 6c 69 6e 67  |e..... Appalling|
00002d30  2c 43 6f 6d 70 6c 65 74  65 20 66 61 69 6c 75 72  |,Complete failur|
00002d40  65 2c 4c 75 63 6b 79 20  74 6f 20 68 61 76 65 20  |e,Lucky to have |
00002d50  74 68 65 20 6a 6f 62 2c  56 65 72 79 20 62 61 64  |the job,Very bad|
00002d60  2c 42 61 64 2c 50 6f 6f  72 2c 41 76 65 72 61 67  |,Bad,Poor,Averag|
00002d70  65 2c 51 75 69 74 65 20  47 6f 6f 64 2c 56 65 72  |e,Quite Good,Ver|
00002d80  79 20 47 6f 6f 64 2c 45  78 63 65 6c 6c 65 6e 74  |y Good,Excellent|
00002d90  2c 4d 6f 76 65 20 6f 76  65 72 20 42 6f 62 62 79  |,Move over Bobby|
00002da0  0d 0e 10 63 dc 20 53 69  6d 70 6c 65 2c 45 61 73  |...c. Simple,Eas|
00002db0  79 2c 51 75 69 74 65 20  65 61 73 79 2c 42 65 6c  |y,Quite easy,Bel|
00002dc0  6f 77 20 61 76 65 72 61  67 65 2c 41 76 65 72 61  |ow average,Avera|
00002dd0  67 65 2c 41 62 6f 76 65  20 61 76 65 72 61 67 65  |ge,Above average|
00002de0  2c 47 6f 6f 64 2c 45 78  63 65 6c 6c 65 6e 74 2c  |,Good,Excellent,|
00002df0  42 72 69 6c 6c 69 61 6e  74 2c 4d 65 67 61 20 67  |Brilliant,Mega g|
00002e00  6f 6f 64 0d 0e 1a 96 dc  20 4c 69 73 74 20 6f 72  |ood..... List or|
00002e10  20 73 65 6c 6c 20 70 6c  61 79 65 72 73 2c 53 61  | sell players,Sa|
00002e20  76 65 20 67 61 6d 65 2c  50 72 69 6e 74 20 6c 65  |ve game,Print le|
00002e30  61 67 75 65 20 74 61 62  6c 65 2c 4f 62 74 61 69  |ague table,Obtai|
00002e40  6e 20 61 20 62 61 6e 6b  20 6c 6f 61 6e 2c 43 68  |n a bank loan,Ch|
00002e50  61 6e 67 65 20 73 6b 69  6c 6c 20 6c 65 76 65 6c  |ange skill level|
00002e60  2c 50 72 69 6e 74 20 73  74 61 74 75 73 2c 54 72  |,Print status,Tr|
00002e70  61 6e 73 66 65 72 20 4d  61 72 6b 65 74 2c 4c 6f  |ansfer Market,Lo|
00002e80  61 64 20 6e 65 77 20 67  61 6d 65 2c 43 6f 6e 74  |ad new game,Cont|
00002e90  69 6e 75 65 20 67 61 6d  65 0d ff                 |inue game..|
00002e9b
23_10_87/SOCCER.m0
23_10_87/SOCCER.m1
23_10_87/SOCCER.m2
23_10_87/SOCCER.m4
23_10_87/SOCCER.m5