Skip to content

Instantly share code, notes, and snippets.

@aaronryank
Created May 31, 2017 20:03
Show Gist options
  • Save aaronryank/3523c414782f90db6170234f71aae0d5 to your computer and use it in GitHub Desktop.
Save aaronryank/3523c414782f90db6170234f71aae0d5 to your computer and use it in GitHub Desktop.
10 GR : POKE 49234,0
20 X = 20 : Y = 20
30 C = INT(RND(1) * 16)
40 COLOR = C : PLOT X,Y
50 IF RND(1) >= .9 THEN C = INT(RND(1) * 16)
60 X = X + INT(RND(1) * 3) - 1
70 Y = Y + INT(RND(1) * 3) - 1
80 IF X > 39 THEN X=0
90 IF X < 0 THEN X=39
100 IF Y > 47 THEN Y=0
110 IF Y < 0 THEN Y=39
120 GOTO 40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment