Commit 3c881e24 authored by Jimmy DORE's avatar Jimmy DORE
Browse files

mise en place de l'option moves, pour afficher ou non les mouvements

parent 6fceb760
......@@ -53,9 +53,13 @@ def tuto(cube, mouvements):
) + '\n'
)
methodToCall = getattr(a,'img_' + m)
print(splitCubeImg(cube.__str__(),methodToCall()))
print("Rotation : ", translate_mvt(m) +'\n\n')
if 'moves' not in params:
print(cube)
else:
methodToCall = getattr(a,'img_' + m)
print(splitCubeImg(cube.__str__(),methodToCall()))
print("Rotation : ", translate_mvt(m) +'\n\n')
mouvementsDone.append(m)
if 'auto' not in params:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment