Sign inSign up

defnotgustavom/cubus

By defnotgustavom

•Updated over 3 years ago

Image size: ~190KiB. Barebones Rubik's cube.

Image
0

4.1K

defnotgustavom/cubus repository overview

  • Running:

docker run -it --rm --log-driver none --net none --read-only defnotgustavom/cubus cubus 3 2X1 2Y1 2Z1

tl;dr: Move it by increasing/decreasing the numbers/words.


If you give a negative edge length, cubus finds all move sequences that have the same result as your input and are not longer than your input. Beware, however, that combinatorial explosion makes your RAM evaporate quickly. A sequence of 6 moves on a 3x3x3 cube will already strain your patience and your machine. Consider the above example, having 6 moves:

18 sequences from 22707269 exploratory moves:

X1X1Y1Y1Z1Z1 X1X1Z1Z1Y1Y1 X1Y1Y1Z1Z1X1 X1Z1Z1Y1Y1X1 x1Y1Y1Z1Z1x1 x1Z1Z1Y1Y1x1 Y1X1X1Z1Z1Y1 Y1Y1X1X1Z1Z1 Y1Y1Z1Z1X1X1 Y1Z1Z1x1x1Y1 y1X1X1Z1Z1y1 y1Z1Z1x1x1y1 Z1X1X1Y1Y1Z1 Z1Y1Y1x1x1Z1 Z1Z1X1X1Y1Y1 Z1Z1Y1Y1X1X1 z1X1X1Y1Y1z1 z1Y1Y1x1x1z1

Tag summary

Content type

Image

Digest

sha256:07c74ac12…

Size

201 kB

Last updated

over 3 years ago

docker pull defnotgustavom/cubus