Brainfuck

An esoteric language designed to be minimal—and maximally frustrating.

Instruction Set

CommandEffect
>Move data pointer right
<Move data pointer left
+Increment cell
-Decrement cell
.Output cell as ASCII
,Input one byte
[Jump forward past matching ] if cell is 0
]Jump back to matching [ if cell is non-zero

Turing Completeness in 8 Symbols

Despite (or thanks to) its spartan design, Brainfuck is Turing-complete. Any computable function can be expressed using just these eight commands.

Runner Controls

The visualiser shows the first 50 cells of the tape in real time. Consult games/js/demos.js for the interpreter.

← Back to gallery