Rnadom
Jump to navigation
Jump to search
User:Fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff made it
commands
q: tape head := random(0,9) //also different from the current cell {: if tape head < 1 skip to matching "}" }: tape head decrement; if non-negative skip to matching "{" r: move tape head right ~: print amount of problems as a number l: move tape head left >: get input as a number \: print tape head as roman numeral #: halt all other commands add a problem to the cell 10 problem = death to a cell and if you do anything with it the program outputs either "💥" or "10"
programs
XKCD Random Number
xkcd~
Actual Random Number
q{+}~
Infinite Loop
q{rq}
truth machine
>{!rq{rq}}~
Cat program
>{+}~
only works from 0 ~ 9
polyglot
v="!iiiso~#::=hF"; print(9); p=""" >9.@::=F Number::=~9 ::= Number"""
Works in Rnadom, Befunge, Thue, Deadfish, Python, and Deadfish~.
Prints the string "9" to the console.