1 LE%=8:L%=5
10 CLS
20 GELLOAD "tankg","tankg.png"
30 GELLOAD "tank","tank.png"
40 GELLOAD "fon","fon.png"
50 SPRITEGEL "tankg","tankg"
60 SPRITEGEL "t","tank"
70 SPRITEGEL "f","fon"
80 X%=0:Y%=0
100 X1%=60:Y1%=144
120 G%=500
130 CLS
140 DRAWGEL "fon",0,0
150 SPRITEMOVE "t",X%,Y%:SPRITEMOVE "tankg",X1%,Y1%
180 M%=2+MOD(RND(0),2)
190 IF M%=1 THEN X1%=X1%+2
200 IF M%=2 THEN X1%=X1%-2
205 IF M%=4 THEN GOSUB 60000
210 IF M%=3 THEN X1%=X1%
220 IF X1%>128 THEN X1%=X1%-1
230 IF X1%<0 THEN X1%=X1%+1
250 IF RIGHT(0) THEN X%=X%+1
260 IF LEFT(0) THEN X%=X%-1
270 IF FIRE(0) THEN GOSUB 42000
280 IF UP(0) THEN GOTO 8000
290 IF DOWN(0) THEN RUN
300 IF X%<0 THEN X%=X%+1
400 IF X%>128 THEN X%=X%-1
410 IF X%=X1% THEN GOSUB 60000
415 SLEEP 50
420 GOTO 140
8000 PRINT "èãðà ñîçäàíà Maxxxl123 , ñïàñèáî øòî âûáðàëè íàñ"
8010 SLEEP 5000
8020 END
42000 RETURN
60000 RETURN
