Galton Board example
cls: (i=1..8: st=i: j=1..st: x= -3*i+j*6 : y=50-i*10: pix x,y,24: if i=8: line x,y+5,x,-50,24): line 30,-30, 30, -50,24: line -24, -30, -24, -50,24 : line -24,-50, 30, -50,18 : a=1..500: :pix 3,49,2 : i=1..5:eachp x,y: c=pix(x,y):d=pix(x,y-1): if c=2:case d=24( pix x,y, 0: case ?1,2?=1(pix x-3,y,2),(pix x+3,y,2)),d=0(pix x,y,0:pix x,y-1,2), d=2(pix x,y,18),d=18(b=pix(x-1,y-1):e=pix(x+1,y-1): case b=0(pix x,y,0: pix x-1,y-1,2),e=0(pix x,y,0: pix x+1,y-1,2),(pix x,y,18)): pause 0# Galton Board
Show more
Response from developer
Thanks for sharing, love it!
Awesome ‘Restrictive’ programming app!
Wonderful app! Has all the basic elements to make some cool stuff. The ‘guide’ has enough to get you started and the paste/copy commands can be combined with the pix() function to store and retrieve data (…this was a secret hint). Since people do enjoy programming with this app, I would STRONGLY suggest adding scrolling to the coding window. As code gets longer…it spills over to the output screen and you loose screen real-estate. That is the only thing I would change for now. This would make it possible to code more complex programs. There is definitely enough there structurally to make more complex things.
(As an after thought…It would be nice make variables outside a block available inside the blocks…but not vice-versa. Scope becomes an issue when coding with parenthesis to make blocks when looping…or for other reasons. Variables created inside blocks should definitely remain ‘local’ as they are now.
Also, to be able to have a place to share programs too would be nice…maybe just a group or something.
While I’m at it…if you would add scrolling…you may want an option to make it possible to code line by line instead of in one long line of separated commands. I code in a txt editor and paste to the app now so I can code line by line. The app actually strips the new line codes out of the pasted code and replaces them with spaces which enables the program to still work without changing the code…pretty cool too!)
Great job!…don’t drop the updates…this has potential!!
(As an after thought…It would be nice make variables outside a block available inside the blocks…but not vice-versa. Scope becomes an issue when coding with parenthesis to make blocks when looping…or for other reasons. Variables created inside blocks should definitely remain ‘local’ as they are now.
Also, to be able to have a place to share programs too would be nice…maybe just a group or something.
While I’m at it…if you would add scrolling…you may want an option to make it possible to code line by line instead of in one long line of separated commands. I code in a txt editor and paste to the app now so I can code line by line. The app actually strips the new line codes out of the pasted code and replaces them with spaces which enables the program to still work without changing the code…pretty cool too!)
Great job!…don’t drop the updates…this has potential!!
Show more
Print C64 maze
Very good application for quick coding exercises. Here is a program similar to the famous C64 one line PRINT maze:
cls 75: y=-46:anim: x=0..25:a=?0..1?:case a=0(line x*4+3-50,y,x*4-50,y-3,0 ),( line x*4-50,y,x*4-50+3,y-3,0 ): case x>24( copy box -50,46,101,-100:paste -50,50 :box -50,-46,101,-4,75) :pause 3:# print C64 maze
cls 75: y=-46:anim: x=0..25:a=?0..1?:case a=0(line x*4+3-50,y,x*4-50,y-3,0 ),( line x*4-50,y,x*4-50+3,y-3,0 ): case x>24( copy box -50,46,101,-100:paste -50,50 :box -50,-46,101,-4,75) :pause 3:# print C64 maze
Show more
Really cool, easy to learn
I love this app! It’s features are full, it’s speedy, it allows me to make spectacular gifs and images, and most of all, it’s fun! 10/10






