TurtleDigits
Jump to navigation
Jump to search
TurtleDigits is an esoteric programming language that is built on top of turtle. It only uses the digits 1-9 for commands.
Commands
Usually commands take the next number as an argument
- 1 - Move forward (up)
- 2 - Move backward (down)
- 3 - Move left
- 4 - Move right
- 5 - Turn an amount of degrees
- 6 - Toggle pen off/on (does not require arguments)
- 7 - Change the color
- 8 - Shuffle the next commands
- 9 - Repeat the next commands amount of times (requires 2 arguments)
Color values
- 0 - Black
- 1 - Red
- 2 - Green
- 3 - Blue
- 4 - Yellow
- 5 - Magenta
- 6 - Cyan
- 7 - Orange
- 8 - Brown
- 9 - Pink
Examples
Hello World
13 21 41 11 23 H 6 41 6 Letter space 13 41 6 21 6 31 22 41 E 6 41 6 13 23 41 L 6 41 6 13 23 41 L 6 42 6 13 31 23 41 31 O 6 44 6 Word space 13 23 41 11 21 41 13 23 W 6 41 6 13 41 23 31 O 6 42 6 13 41 21 31 56 929 54 42 32 56 925 952 985 58 R 6 42 6 22 13 23 41 L 6 41 6 13 59 924 41 59 924 42 59 924 41 D
Output
Circle
11 59 944 979
Random curve generator
84 1234 969 999