We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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.

Examples

Truth-machine

Put a user input in the yellow variable with a yellow and blue block. Then, on another part of the script, put 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.