dos33fsprogs/glados3.3/portal.bas
2017-01-06 09:40:59 -05:00

13 lines
179 B
QBasic

10 HGR
20 CX=100:CY=100
30 HCOLOR=3
35 HPLOT CX,CY-7 TO CX,CY+7
40 GET A$
42 HCOLOR=0
43 HPLOT CX,CY-7 TO CX,CY+7
45 IF A$="D" THEN CX=CX+1
46 IF A$="A" THEN CX=CX-1
50 GOTO 30