TurtleBF

From Esolang
Jump to navigation Jump to search

TurtleBF is a brainfuck derivative by User:Hammy which adds support for 2D graphics (using a turtle) without getting rid of the normal I/O commands.

New commands

command meaning
$
Sleep for (Current cell) seconds.
_
Toggle the pen status. By default, the pen is up.
!
Step forward (current cell) steps.
?
Rotate (current cell) degrees.

Examples

Draw a circle

+_[!?]