add move approx

This commit is contained in:
2024-08-24 13:48:36 +03:00
parent 67e8c7a639
commit 50ceb636de
4 changed files with 97 additions and 6 deletions

15
cube.py
View File

@ -119,6 +119,21 @@ class LSECube:
return "U"
return ""
def fix_m_slice(self) -> str:
match self.centers["U"]:
case "U":
return ""
case "B":
self.Mp()
return "M'"
case "D":
self.M2()
return "M2"
case "F":
self.M()
return "M"
return ""
def alg(self, alg: str):
move_functions = {
"U": self.U,