Skip to content

Commit

Permalink
BouncingBall.gtb: demoing AT and PUT
Browse files Browse the repository at this point in the history
  • Loading branch information
kervinck committed Sep 4, 2018
1 parent 7b1e496 commit 22a36ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BASIC/BouncingBall.gtb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
10 REM BOUNCING BALL
20 X=2:V=6
30 CLS:ATX,60
40 FOR I=1 TO 25
50 AT X:PUT 32:REM CLEAR
60 X=X+V
70 AT X:PUT 79:REM DRAW O
80 NEXT I
90 V=-V
100 GOTO 40

0 comments on commit 22a36ed

Please sign in to comment.