tptimer/pyTwistyScrambler/scrambler222.py

18 lines
618 B
Python
Raw Normal View History

2018-07-20 05:43:02 +00:00
from . import _222_SCRAMBLER, trim
#------------------------------------------------------------------------------
@trim
def get_WCA_scramble():
""" Gets a WCA random scramble (sub-optimal) of a 2x2x2 cube. """
return _222_SCRAMBLER.call("scramble_222.getRandomScramble")
@trim
def get_random_scramble():
""" Gets a WCA random scramble (sub-optimal) of a 2x2x2 cube. """
return _222_SCRAMBLER.call("scramble_222.getRandomScramble")
@trim
def get_optimal_scramble():
""" Gets an optimal random state scramble of a 2x2x2 cube. """
return _222_SCRAMBLER.call("scramble_222.getOptimalScramble")