ax=5 ay=3 vx=1 vy=1 @loop locate ax,ay print"#" for i=o to 200 next locate ax,ay print" " ax=ax+vx ay=ay+vy if ax==30 then vx=-1 if ax==1 then vx=1 if ay==20 then vy=-1 if ay==1 then vy=1: goto @loop これで、簡単な反射アルゴリズムが・・・後はvy=-1のとこをay=1 とかにすると一番下に行くと上からまた落ちてくるとかね(´р`)