I'm a code golfer from the Netherlands who loves the occasional challenge of creating a complicated program in a 2D language like Cubix. I learned English at school, a skill that turned out to be rather useful on the web.
How I ended up on this site
Answers I'm proud of
During my stay here, I have made a few interesting answers. Please check them out, and upvote them if you think they are good answers.
- Improved the Cubix quine from 45 to 20 bytes
- Golfed down a Cubix program by more than 50%
- Implemented string search in Cubix
Funny or useful programs
I also made some programs that are either funny or useful, but don't fit into any challenge.
Alternative CAT program in Cubix
I came up with this program accidentally in chat and then tried running it, to see what it did. It turned out to be an infinite CAT program, that ends up in an infinite loop after it has run out of input. You can try it yourself here. This could be an answer to a CAT program popularity contest, but sadly, popularity contests get closed easily.
The only characters that have any meaning to the interpreter (excluding control flow) are
innot'otcan. The first two negations cancel each other out, leaving us with
i takes one character from the input, and the first
o prints it. The second
o is interpreted as a character, not a command, so every character gets only executed once. All other characters modify the stack, but we don't care about that.
Uniformly random digit generator in Cubix
This program outputs a random number in the inclusive range 1-9. Every number has about 12.6% chance of being output. You might notice that the
D appears a lot. That is because that command changes the IP's direction randomly. By chaining a few
Ds, we can create 9 spots the IP might reach. On those spots, we place the number literals for 1 through 9, and then we guide the IP to the output and lastly, we end the program. Feel free to use this in any answer.
Member for 3 years, 1 month
2 profile views
Last seen May 20 '17 at 8:34
Top network posts
Keeping a low profile.
This user hasn't posted yet.
May 2 '17