10 SETCOLOR 0,0,0
20 FILLRECT 0,0,SCREENWIDTH(0),SCREENHEIGHT(0)
30 SETCOLOR 255,255,255
40 FILLARC 20,20,50,50,0,600
50 FILLARC 100,20,50,50,0,600
60 DRAWARC 50,90,80,50,200,150
70 FILLRECT 85,90,5,5
80 GELGRAB "1",0,0,5,5
90 GELGRAB "2",0,0,5,5
100 SPRITEGEL "1","1"
110 SPRITEGEL "2","2"
120 X%=45
130 Y%=45
140 SPRITEMOVE "1",X%,Y%
150 SPRITEMOVE "2",X%+80,Y%
160 IF LEFT(0) THEN X%=X%-1
170 IF RIGHT(0) THEN X%=X%+1
180 IF UP(0) THEN Y%=Y%-1
190 IF DOWN(0) THEN Y%=Y%+1
200 SLEEP 20
210 REM 
220 IF X%<30 THEN X%=30
225 IF Y%<30 THEN Y%=30
226 IF Y%>60 THEN Y%=60
227 IF X%>60 THEN X%=60
230 GOTO 140
