Lbj

From Esolang
Jump to navigation Jump to search

Lbj (Lego Block Jenga) is an esoterical language created by User:Cinnamony.

Commands

  • A red 2x2 is a print block, printing what value is on top of it.
  • A blue 2x2 is a user input block, representing whatever value the user puts in.
  • A green 2x2 is a forever loop, that does things forever.
  • A green 4x2 is an if loop, that does something is the value next to it is 1.
  • A pink 2x2 is a variable, when on the bottom level or inside a loop, it is a set pink variable to.
  • An orange 2x2 is also a variable, and it works like pink.
  • Same with a yellow 2x2.
  • But a yellow 4x2 is used for multiplication.
  • And an orange 4x2 is used for adding.
  • Pink 4x2 is a repeat block.

Truth Machine I Guess

Truth Machine I guess LBJ.jpg

I put a user input in the yellow variable with a yellow and blue block. Then, on another part of the script, I have an if loop, if yellow=1, than go to the green-red-yellow configuration, which repeats printing 1. It doesn't print 0 once when you put in 0.