forked from euphwes/pyTwistyScrambler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added clockScrambler module, with scramblers for WCA, Jaap-, concise-…
…, and efficient pin order notations.
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from . import _UTIL_SCRAMBLER, trim | ||
|
||
#------------------------------------------------------------------------------ | ||
|
||
@trim | ||
def get_WCA_scramble(): | ||
""" Gets a WCA scramble for a Rubik's Clock. """ | ||
return _UTIL_SCRAMBLER.call("util_scramble.getClockWCAScramble") | ||
|
||
@trim | ||
def get_Jaap_scramble(): | ||
""" Gets a Jaap-notation scramble for a Rubik's Clock. """ | ||
return _UTIL_SCRAMBLER.call("util_scramble.getClockJaapScramble") | ||
|
||
@trim | ||
def get_concise_scramble(): | ||
""" Gets a concise-notation scramble for a Rubik's Clock. """ | ||
return _UTIL_SCRAMBLER.call("util_scramble.getClockConciseScramble") | ||
|
||
@trim | ||
def get_efficient_pin_order_scramble(): | ||
""" Gets an efficient pin order scramble for a Rubik's Clock. """ | ||
return _UTIL_SCRAMBLER.call("util_scramble.getClockEfficientPinOrderScramble") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters