Endfield

From Esolang
Jump to navigation Jump to search

Endfield is yet another esolang created by User:cleverxia. It's a brainfuck derivative.

The commands are due to the fact that when you pay to the game Endfield, it deduces money from a random account, and you can login on your account on other devices wit cache files, and the pool there requires 500 diamonds instead of the customary 160.

Commands

(note that cells are unbounded)

Command Description
> Move the pointer to the right
< Move the pointer to the left
+ Increment the memory cell at the pointer
- Decrement a random cell that is >0 by three
. Output the character signified by the cell at the pointer
, Input a character and store it in a random cell bigger than 0
[ Jump past the matching ] if the cell at the pointer is 0
] Jump back to the matching [ if the cell at the pointer is nonzero

Examples

output \x03 or \x00 randomly

+++>+++-.

cat program

+,[.,]

Hello, World!

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
+++++++++++++++++++++++++++++.
+++++++..+++.-----------------------++.----.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++.
++++++++++++++++++++++++.+++.--.---+.