Paintfuck+

From Esolang
Jump to: navigation, search

This language is by User:Poolala, and is an extension of the Paintfuck language. Each cell is represented as an RGB code, and the colors wrap. (FF to 00, 00 to FF) The cell array is the same as Paintfuck's. The operations are:

Operation Description
n Move north
s Move south
w Move west
e Move east
+ Increment the current cell's current color
- Decrement the current cell's current color
 % Cycle current cell's color (every cell starts at R, and the order of cycling is R-G-B-R...)
[ While current cell's color is nonzero...
] End while

i.e. %- would make the current cell green.