If Y=1 Or R=1 Or U=1 Or T=1 Or K=1 Then Goto r IfEnd Lbl r ClrText Locate 1,1,"xxxx A T T A C K xxxx" Y=0 Locate 1,2,"[F1] YELLOW KNIGHT" R=0 And S 10 Locate 1,3,"[F2] RED KNIGHT" U=0 And S 30 Locate 1,4,"[F3] BLUE KNIGHT" T=0 And S 50 Locate 1,5,"[F4] GREEN KNIGHT" K=0 And S 100 Locate 1,6,"[F5] BLACK KNIGHT" Locate 1,7,"[F6] EXIT" Goto   Lbl   Getkey=29 Goto A Getkey=79 Goto B Getkey=69 Goto C Getkey=59 Goto D Getkey=49 Goto E Getkey=39 Goto F Goto   Lbl A 1 A Return Lbl B Y 1 Goto   1 E 100 A Goto G Lbl C S<10 Or R=1 Goto   2 E 250 A Goto G Lbl D S<30 Or U=1 Goto   3 E 500 A Goto G Lbl E S<50 Or T=1 Goto   4 E 750 A Goto G Lbl F S<100 Or K=1 Goto   5 E 2000 A Goto G Lbl G ClrText Locate 1,4,"!" Locate 1,4,"K!" Locate 1,4,"CK!" Locate 1,4,"ACK!" Locate 1,4,"TACK!" Locate 1,4,"TTACK!" Locate 1,4,"ATTACK!" Locate 1,4," ATTACK!" Locate 1,4," ATTACK!" Locate 1,4," ATTACK!" Locate 1,4," ATTACK!" Locate 1,4," ATTACK!" Locate 1,4," ATTACK!" Locate 1,4," ATTACK!" Locate 7,1,"xxxxxxxxx" Locate 7,7,"xxxxxxxxx" Locate 7,1," " Locate 7,7," " Locate 7,2,"xxxxxxxxx" Locate 7,6,"xxxxxxxxx" Locate 7,2," " Locate 7,6," " Locate 7,3,"xxxxxxxxx" Locate 7,5,"xxxxxxxxx" Goto Z Lbl Z Getkey=31 Goto Y Goto Z Lbl Y ClrText Int (1.5xS)Ran#+1 B Locate 1,1,"xxxx A T T A C K xxxx" Locate 1,4,":" Locate 1,4,"S:" Locate 1,4,"RS:" Locate 1,4,"ERS:" Locate 1,4,"IESR:" Locate 1,4,"DIERS:" Locate 1,4,"LDIERS:" Locate 1,4,"OLDIERS:" Locate 1,4,"SOLDIERS:" Locate 1,5,":" Locate 1,5,"K:" Locate 1,5,"CK:" Locate 1,5,"ACK:" Locate 1,5,"TACK:" Locate 1,5,"TTACK:" Locate 1,5,"ATTACK:" Locate 1,6,":" Locate 1,6,"D:" Locate 1,6,"LD:" Locate 1,6,"OLD:" Locate 1,6,"GOLD:" Locate 1,7,":" Locate 1,7,"S:" Locate 1,7,"ES:" Locate 1,7,"IES:" Locate 1,7,"RIES:" Locate 1,7,"RRIES:" Locate 1,7,"ARRIES:" Locate 1,7,"CARRIES:" E=1 Locate 9,3,"YELLOW" E=2 Locate 12,3,"RED" E=3 Locate 11,3,"BLUE" E=4 Locate 10,3,"GREEN" E=5 Locate 10,3,"BLACK" Locate 16,3,"KNIGHT" Locate 11,4,A Locate 11,5,B Locate 11,6,"100" E=1 Locate 11,7,"SWORD" E=2 Locate 11,7,"LANCE" E=3 Locate 11,7,"MACE" E=4 Locate 11,7,"AXE" E=5 Locate 11,7,"CATAPULT" Goto T Lbl T Getkey=31 Goto H Goto T Lbl H H 0 Goto P ClrText Locate 1,1,"xxxx A T T A C K xxxx" Locate 1,3,"YOU ENEMY" Locate 1,4,H Locate 18,4,A Locate 1,6,"[F1] ATTACK" Locate 1,7,"[F2] RETREAT" Goto I Lbl I Getkey=79 Goto J Getkey=69 Goto R Goto I Lbl J Locate 1,6," " Locate 1,7," " Int 5Ran#+1 X Int SRan#+1 O OxX X Locate 10,5,"KILLED" Locate 17,5,X A-X A A<0 0 A Locate 18,4," " Locate 18,4,A Goto K Lbl K Getkey=31 Goto L Goto K Lbl L A 0 Goto N Int 5Ran#+1 X XxE X H-X H H<0 0 H Locate 1,5," " Locate 1,5,"KILLED" Locate 8,5,X Locate 1,4," " Locate 1,4,H Goto M Lbl M Getkey=31 Goto H Goto M Lbl N ClrText 100 C Locate 1,1,"xxxxxx VICTORY xxxxxx" Locate 1,3,"ON THE ENEMY YOU FIND" Locate 1,4,C Locate 5,4,"GOLD AND A" E=1 Locate 16,4,"SWORD." E=1 S+1 S E=2 Locate 16,4,"LANCE." E=2 S+2 S E=3 Locate 16,4,"MACE." E=3 S+3 S E=4 Locate 15,4,"N AXE." E=4 S+4 S E=5 Locate 1,5,"CATAPULT." E=5 S+25 S E=1 1 Y E=2 1 R E=3 1 U E=4 1 T E=5 1 K C+G G Goto X Lbl O 1 A Getkey=31 Return Goto O Lbl P ClrText Locate 1,1,"xxxxxxx R I P xxxxxxx" Locate 1,2,"YOU ARE DEAD AND YOUR" Locate 1,3,"KINGDOM IS OVERTAKEN" Locate 3,4,"BY THE EVIL BLACK" Locate 8,5,"KNIGHT." Locate 1,7,"xxx GAME OVER xxx" Goto Q Lbl Q Getkey=31 ClrText Stop Goto Q Lbl R Locate 1,6," " Locate 1,7," " Locate 2,7,"UNABLE TO RETREAT!" Goto L Lbl X Getkey=31 Goto S Goto X Lbl S If Y 0 And R 0 And U 0 And T 0 And K 0 Then Goto W IfEnd 1 A Return Lbl W ClrText Locate 1,1," CAMELOT IS SAVED!" Locate 2,2,"YOU HAVE ONCE AGAIN" Locate 1,3,"PROVED YOUR WORTH AS" Locate 1,4," KING. THE BLACK" Locate 1,5,"KNIGHT WILL NO LONGER" Locate 1,6,"TORMENT YOUR PEOPLE." Locate 1,7," OR WILL HE?" Goto V Lbl V Getkey=31 Goto U Goto V Lbl U ClrText Locate 1,2,"THIS GAME WAS CREATED" Locate 1,3,"BY:" Locate 11,5," S" Locate 11,5," SE" Locate 11,5," SEA" Locate 11,5," SEAN" Locate 11,5," SEAN " Locate 11,5," SEAN W" Locate 11,5," SEAN WA" Locate 11,5," SEAN WAR" Locate 11,5," SEAN WARR" Locate 11,5," SEAN WARRE" Locate 11,5,"SEAN WARREN" Goto 0 Lbl 0 Getkey=31 Goto 1 Goto 0 Lbl 1 ClrText Locate 1,2," xxxxxxxxxxx" Locate 1,3," x x" Locate 1,4," x THE END x" Locate 1,5," x x" Locate 1,6," xxxxxxxxxxx" Goto 2 Lbl 2 Getkey=31 Goto 3 Goto 2 Lbl 3 ClrText Stop
|