charlesreid1 / rubiks-cycles

An investigation into permutation cycles and orders for 3x3 and 4x4 Rubiks Cubes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rubiks Cube: Cycles

An investigation into cycles on 3x3 and 4x4 Rubiks Cubes. See this series of blog posts on charlesreid1.github.io for more information.

Files:

  • manual_order.py - manually apply sequences to cubes to determine their order.

  • perms.py - provide supporing functions to manual_order.py to find rotational permutations of a move sequence.

  • sequence_order.py - use tuples and tuple factoring to determine the order of a move sequence.

Uses cube representation from this library: dwalton76/rubiks-cube-NxNxN-solver

(Note: counting the order of a cycle does not require solving the cube)

About

An investigation into permutation cycles and orders for 3x3 and 4x4 Rubiks Cubes.

License:MIT License


Languages

Language:Python 100.0%