TGC Codebase Backup



Ball bouncing between two lines by Anonymous Coder

20th Apr 2008 18:20
Summary

Extremely short code



Description

This is my first program code thing, so it is not that good.



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    FOR K=1 TO 300
xpos = 50+(K-1)
ypos = 200+130*sin(k*4)
cls
circle xpos,ypos,20
Line 0,350,640,350
line 0,50,640,50
NEXT K