The algorithm we'll be using is based on the popular "F2L" (first two layers) and "OLL" (orientation of the last layer) methods. We'll extend these methods to solve the NxNxN cube.
import numpy as np
def solve(self): self.algorithm.f2l() self.algorithm.oll() self.algorithm.pll() nxnxn rubik 39scube algorithm github python full
def pll(self): # PLL step for i in range(self.cube.n): for j in range(self.cube.n): # Permute pieces on the last layer pass The algorithm we'll be using is based on