This is a fun idea I thought of where you can program a little robot to run around and draw stuff. Commands are listed below. And below that are some example programs you can load Controls: press the backslash key to backspace(scratch doesn't let me use backspace key). -use up and down arrows to move between lines, and use enter key to make new lines. Documentation for BB's programming language: Movement commands: -move(amount) -You can input an amount and it will move forward that many steps -turn(direction, amount) -for direction you can choose either 'anti' or 'clock' (without apostrophes) which will choose if it is turning anticlockwise or clockwise. Then amount is how many degrees to turn. Comma is required -point(direction) -for point you can either set direction to a value of 0 to 360 degrees, or you could use a value of -180 to 180. Then BB will face whatever angle you told him to -goto(x,y) -goto can be used to simply move to a point on the screen. x can be between -240 to 240. and y can be between -180 to 180 Pen Controls: -penup() -penup() does not require any conditions. just place it and it will bring up BB's pen -pendown() -pendown() also does not require any conditions. just place it and it will put down BB's pen -pensize = amount -'pensize =' is a command where you just put a size into amount and it will change the size into that. -pencolor = color -'pencolor =' is a command where you put a number 0-100 into the 'color' spot and it will change to that color. To choose black just choose 0 as color. Logic commands: -delay = amount(in seconds) -Delay lets you say how long you want to wait in between commands. By default it is 0 and the program will run really fast, but if you want to watch BB follow his instructions bit by bit you can make it higher. -sleep(time) -Sleep lets you temporarily pause the program for a set amount of time(in seconds). BB will stop and wait for the set amount of time when he gets this command Examples you can load(just copy all that is between the two dashes): - pendown()|pensize = 3|move(50)|turn(anti,90)|move(50)|turn(anti,90)|move(50)|turn(anti,90)|move(50)| - pensize = 4|pendown()|move(50)|point(-30)|move(50)|point(-150)|move(50)|point(-90)|penup()|move(100)| - Happy programming! Feel free to show off programs you make in the comments
To-do: -add other robot skins you can change to -maybe more Logic stuff -add ability to select background color