3 ms·
I solved the second one using stackEqual. Still have no idea what it does... The interface is really fun though, and the blocks look nice. Only the "Solved!" t
by thomasahle 11y ago
I solved the second one using stackEqual. Still have no idea what it does...
The interface is really fun though, and the blocks look nice. Only the "Solved!" text is quite small and not easy to spot.
- altschuler 11y agostackEqual stacks neighboring blocks of the same color on top of each other.
- sweezyjeezy 11y agoNot quite, it stacks neighbouring columns with the same pattern of colours on top of each other, e.g. http://i.imgur.com/35N4tPu.png http://i.imgur.com/35N4tPu.png The columns have to be the same pattern exactly (same height, same colours)
- sharkdp 11y agoExactly! The code for stackEqual is here: https://github.com/sharkdp/cube-composer/blob/master/src/Transformer.purs#L45-L49 https://github.com/sharkdp/cube-composer/blob/master/src/Tra... I should definitely add a better description somewhere!