10 gelload "tank","spr/tank.PNG"
11 gelload "pulka","spr/pulka.PNG"
12 gelload "vrag","spr/vrag.PNG"
20 spritegel "tank","tank"
21 spritegel "pulka","pulka"
22 spritegel "vrag","vrag"
30 spritemove "tank",0,0
31 spritemove "pulka",1000,0
32 spritemove "vrag",0,screenheight(0)-10
40 if fire(0) then goto 60
50 goto 40
60 y%=5
70 spritemove "pulka",4,y%:sleep 2
80 y%=y%+1
90 if spritehit("pulka","vrag")=1 then goto 110
100 goto 70
110 drawstring "YOU WIN",100,100
120 goto 120