Thue-Mirr
Jump to navigation
Jump to search
Thue-Mirr is a 2D programming language with the following commands:
- \ / - Mirrors
- x - Output X coordinate of tile
- y - Output Y coordinate of tile
- 0 1 2 3 4 5 6 7 8 9 - Output a constant value
The initial configuration is the program tiled infinitely.
When a mirror is hit, the direction program flow is changed, and then the mirror might be flipped. It is flipped if the number of bits set in the number of times a mirror has previously been hit (not counting this one) is an odd number, otherwise it is not flipped.
External resources
- Interpreter in Python3 with some examples.