Rubik's Cube extended

From Esolang
Jump to navigation Jump to search

Rubik's Cube Extended (shortened to RCE for the rest of the article) is by User:Hammy and is an extension of Rubik's Cube

Commands

RCE uses a different commmand set to Rubik's Cube.

L increments cell

L' decrements cell

R goes to the next cell

R' goes to the previous cell

U outputs the cell as an ASCII character

U' takes numeric input and sets the cell to it.

D starts a [[bf]] loop

D' ends the loop

F breaks out of a loop

F' goes to the next iteration of the loop

B outputs as number

B' inputs as character

Examples

Cat

B' D U B' D'
What the cube looks like after a cat program