This is non-commercial site, its content is based on Atari 8-bit home computer contents and references.
If you feel your rights are violated by showing/using any part of contents of your product represented on this page,
please contact me immediatelly so I can remove it!
Entry name:
Inspector Clew-So
|
Publisher/Developer:
BELLCOM - Public Domain Library (Software library) |
|
-
Entry name:Inspector Clew-So
-
Category:Games
-
Publisher/Developer:BELLCOM - Public Domain Library
-
Year:1980
Listing 1
0REM 5OPEN#1,4,0,"K" 10DIMS$(20),R$(36),A$(3),P(5,9),Z$(36),Y$(36),M$(36),S1$(16),FN$(16),R1$(16) 20SETCOLOR2,0,0 90S$="BILLMARYPAULSUZYJOHN" 100R$="LOUNGEATRIUMLIVINGDININGTROPHYGARAGE" 105GOTO210 110FN$=M$((P-1)*O+1,P*O):RETURN 120FORA=1TOH 140M$=Y$:P=A:O=L:GOSUB110 145IFZ$<>FN$THEN170 150P=A:GOTO200 170NEXTA 180P=0 200RETURN 210?"":POSITION10,1:?"" 215?"Bill,Mary,John,Suzy,&Paulare":?"houseguests.Theirhostwasmurdered" 220?"byoneofthembetween1PM9PM.":?"YourjobasinspectorClew-Soisto" 225?"findthekiller,time,&room.You":?"willbegivenafloorplanofthe" 230?"houseandasetofquestionsforthe":?"suspects,buttheguiltypersonmay" 235?"trytomisleadyoubylyingsomeof":?"thetime.Ifoneofthesuspects" 240?"claimthatthehostwasalreadydead":?"orthatthehostwasstillalive,you" 245?"havefoundtheroomwherethemurder":?"tookplace." 250?"Whenaskingquestions,besureto":?"enterdatainUPPERCASEonly." 310C=0:C1=0 320POSITION11,22:GOSUB10000 330?"" 340?"|\Trophy/Garage|" 350?"|Dining|" 360?"|||" 370?"/|||" 380?"|Living|" 390?"||" 400?"|/Atrium/Lounge|" 410?"\/" 420?"Notethatonlyroomswhichhavedoors":?"(marked'/'or'\')areconsidered" 430?"adjacent.Whenasuspectsaysheor":?"shewas'with'someone,thismeans" 440?"thattheywereinthesameroom.":?"Whenasuspectsaysheorshe'saw'" 450?"someone,thatmeansthatpersonwas":?"inanadjacentroom.Itissuggested" 451?"thatyouhaveanotepadtorecord":?"theanswerstothequestionsyouask" 452?"ofyoursuspects.Ifyouwishtoend":?"thegame,enterthe'totallybaffled'":?"option."; 453GOSUB10000 460FORK=1TO5:P(K,1)=INT(6*RND(1))+1:NEXTK 490FORL=2TO9 500FORK=1TO5 510A=INT(6*RND(1))+1 520IFA=P(K,L-1)THEN510 530P(K,L)=A 540NEXTK 550NEXTL 580M=INT(5*RND(1))+1:T=INT(9*RND(1))+1:R=P(M,T) 610TRAP610:?"Inspector,whoisyoursuspect";:INPUTS1$ 620Z$=S1$:Y$=S$:L=4:H=5:GOSUB120:S=P 630IFS=0THEN610 640?"Doyouwishtoquestion";S1$;"about:" 660?"1-Thesuspectswhereaboutsata":?"particulartime" 670?"2-Whattimethesuspectwasina":?"certainroom" 680?"3-Thecrimeissolved" 690TRAP640:?"Which";:INPUTA 695IFA<1ORA>3THEN640 700C=C+1 710ONAGOTO720,990,1200 720?S1$;","; 740TRAP720:?"wherewereyouat";:INPUTT1 750TRAP640:IFT1<1ORT1>9THEN720 760R1=P(S,T1) 770IFS<>MTHEN860 790IFRND(1)<0.5THEN910 800R1=INT(6*RND(3))+1 810IFRND(1)<0.5THEN840 820?"Thehostwasalreadydead." 830GOTO910 840?"Ourhostwasstillalive." 850GOTO910 860IFR1=RTHEN880 870GOTO910 880IFRND(1)<0.5THEN910 890IFT1<TTHEN?"Thehostwasstillalive." 900IFT1>TTHEN?"Thehostwasalreadydead." 910?"Iwasinthe";:M$=R$:P=R1:O=6:GOSUB110:?FN$;"room." 920FORK=1TO5 930IFK=STHEN960 940IFP(K,T1)<>R1THEN950 945M$=S$:P=K:O=4:GOSUB110:?"Iwaswith";FN$;"." 950IFABS(R1-P(K,T1))<>1THEN960 955M$=S$:P=K:O=4:GOSUB110:?"Isaw";FN$;"." 960NEXTK 970GOTO610 990?S1$;",whenwereyouin[room]";:INPUTR1$ 1010Z$=R1$:Y$=R$:L=6:H=6:GOSUB120:T1=P 1020IFT1=0THEN990 1030IFS<>MTHEN1110 1040IFRND(1)<0.5THEN1110 1050T1=INT(RND(1)*6)+1 1060GOTO1090 1070IFT1=FTHEN?"Iwasn'tinthatroom." 1080GOTO610 1090?"Iwasinthatroomat";T1 1100GOTO610 1110K=0 1120FORB=1TO9 1130IFP(S,B)<>T1THEN1160 1140?"Iwasinthatroomat";B 1150K=1 1160NEXTB 1170IFK=0THEN?"Iwasn'tinthatroom." 1180GOTO610 1200C1=C1+1 1210?"Inspector,doyouthinkyouknow:" 1220?"1-Killer" 1230?"2-Room" 1240?"3-Time" 1250?"4-Totallybaffled" 1260TRAP1210:?"Which";:INPUTA 1265TRAP1210:ONAGOTO1270,1420,1350,1550 1270?"Thekilleris";:INPUTS1$ 1280Z$=S1$:Y$=S$:L=4:H=5:GOSUB120:X=P 1290IFX=0THEN1210 1300M$=S$:P=M:O=4:GOSUB110:IFS1$<>FN$THEN1530 1310?"Youhavethekiller." 1320KI=1 1330IFKI+RO+TI=3THEN1500 1340GOTO610 1350TRAP1350:?"Timeofthemurder";:INPUTT1 1360IFT1<1ORT1>9THEN1350 1370IFT1<>TTHEN1530 1380?"Youhavetherighttime.":TI=1 1400IFKI+RO+TI=3THEN1500 1410GOTO610 1420?"Roomofthemurder";:INPUTR1$ 1430Z$=R1$:Y$=R$:L=6:H=6:GOSUB120:X=P 1440IFX=0THEN1420 1450M$=R$:P=R:O=6:GOSUB110:IFR1$<>FN$THEN1530 1460?"Youhavetheroom.":RO=1 1480IFKI+RO+TI<3THEN610 1500?"YouarebrilliantInspectorClew-So." 1510?"Ittookyou";C;"questionsand":?C1;"confrontations." 1520GOTO1590 1530?"InspectorClew-So,youareabumbling":?"idiot.Tryagain,youfool!" 1540GOTO610 1550?"Toobad,InspectorClew-So." 1560?"Thefactsare:" 1570M$=S$:P=M:O=4:GOSUB110:?FN$;"killedthehost" 1575?"at";T;"PMinthe";:M$=R$:P=R:O=6:GOSUB110:?FN$;"(room)." 1590?"Doyouwantanewcase,Inspector";:INPUTA$ 1600IFA$(1,1)="Y"THENRUN 1700?"":END 10000?"";:GET#1,X 10010?"";:RETURN
References
Listing downloads
Downloads
Copyright holder
