Rollover
What is Rollover?
Rollover is an esolang created by
Scratch_Fakemon. It uses an
array of cells, of which there can only be 256 (0-255). A cell's value works
the same way, starting at 0 and having a maximum of 255.
Since
Rollover doesn't have any decrement commands, the only way to make the
current cell or its value go down is to have it roll over (get it?)
when it exceeds the maximum value.
Rollover's commands
Rollover has 6 commands in total:
- n - moves to the next cell
- i - increments the current cell's value
-
c[] - loops the code inside the brackets until the value of the cell
equals the cell's index
- p - prints the current cell's value as a number
- a - prints the current cell's value as an ASCII character
- u - prints the current cell's value as a UTF-8 character
Try it out!
Rollover also has a
page on esolangs.org!