ScratchData LogoScratchData
Back to robotkid828's profile

Color

ROrobotkid828•Created November 8, 2022
Color
0
0
8 views
View on Scratch

Instructions

So I made a color based programming-ish language. Red is the action, green and blue are generally options. 0 red creates a variable, green is the variable you want to set, and blue is the value you want to set it to. 1 red passes a variable into the next argument, green is the variable to pass. 2 red prints a variable. (The first passed variable.) 3 red does addition, subtraction, multiplication, and division on the passed variables (first passed variable is the first part of the operation), green is the variable to set the result to, and blue is the operator. (0 is +, 1 is -, 2 is *, 3 is /.) 4 red appends passed variable 1, and 2 to green. 5 red converts the passed variable to text and sets it to green. (1 is a, 2 is b, so on and so forth.) EXAMPLE: So lets say I create variable 0 (0 red, 0 green, 15 blue) and 1 (0 red, 1 green, 8 blue), and want to subtract variable 1 (8) from 0 (15), I would put a (1 red, 0 green, 0 blue) to pass variable 0 into the next argument, and (1 red, 1 green, 0 blue) to also pass the second variable into the argument. I would then put the operation (3 red, 2 green, 1 blue) to subtract the second pass variable (variable 1, aka 8) from the first passed variable (variable 0, aka 15) and put the result (7) into the 2nd variable. I would then put a (1 red, 2 green, 0 blue) to pass variable 2 (7) to the next argument. Finally I would put a (2 red, 0 green, 0 blue) to print the first passed variable (variable 2, aka 7) to finally print 15-8 (7). also sry this project doesnt work always, scratch touching color () limitations are kinda dumb

Description

aaa please read above instructions before complaining or smth, also plz give ideas i need things to add :| THIS IS ACTUALLY HARDER THAN BRAINF Brainf hello world: >++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+ +.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>- ]<+. Color hellowrld (rgb format): (0, 0, 8) (0, 1, 5) (0, 2, 12) (0, 3, 12) (0, 4, 15) (0, 5, 15) (0, 6, 8) (1, 5, 0) (1, 6, 0) (3, 7, 0) (0, 8, 15) (0, 9, 15) (0, 10, 3) (1, 9, 0) (1, 10, 0) (3, 11, 0) (0, 12, 12) (0, 13, 4) (1, 0, 0) (5, 0, 0) (1, 1, 0) (5, 1, 0) (1, 2, 0) (5, 2, 0) (1, 3, 0) (5, 3, 0) (1, 4, 0) (5, 4, 0) (1, 7, 0) (5, 7, 0) (1, 8, 0) (5, 8, 0) (1, 11, 0) (5, 11, 0) (1, 12, 0) (5, 12, 0) (1, 13, 0) (5, 13, 0) (1, 0, 0) (1, 1, 0) (4, 14, 0) (1, 14, 0) (1, 2, 0) (4, 14, 0) (1, 14, 0) (1, 3, 0) (4, 14, 0) (1, 14, 0) (1, 4, 0) (4, 14, 0) (1, 14, 0) (1, 7, 0) (4, 14, 0) (1, 14, 0) (1, 8, 0) (4, 14, 0) (1, 14, 0) (1, 11, 0) (4, 14, 0) (1, 14, 0) (1, 12, 0) (4, 14, 0) (1, 14, 0) (1, 13, 0) (4, 14, 0) (1, 14, 0) (2, 0, 0)

Project Details

Project ID758186132
CreatedNovember 8, 2022
Last ModifiedNovember 9, 2022
SharedNovember 8, 2022
Visibilityvisible
CommentsAllowed