Munching squares: Difference between revisions
→{{header|Evaldraw}}: add image
(add evaldraw (.kc) solution for Munching Squares) |
(→{{header|Evaldraw}}: add image) |
||
Line 902:
Since all variables in Evaldraw are doubles, convert to binary and do a custom per bit xor operation.
[[File:Evaldraw xor squares.gif|thumb|alt=xor pattern where color is the result of xor(x,y) over values x from 0 to 128 and y to 128|Coloring the xor munching squares pattern over time]]
<syntaxhighlight lang="c">enum{NUMBITS=7, MAXNUMS=3}
|