MCPcopy Create free account
hub / github.com/MeigenChou/DCTimer-Android / scrambleTCLL

Method scrambleTCLL

app/src/main/java/solver/Cube222.java:435–444  ·  view source on GitHub ↗
(int twist)

Source from the content-addressed store, hash-verified

433 }
434
435 public static String scrambleTCLL(int twist) {
436 String scramble;
437 do {
438 randomTEG(4, twist);
439 int p = Utils.get8Perm(state[0], 7);
440 int o = Utils.oriToIdx(state[1], 7, true);
441 scramble = solve(p, o);
442 } while (scramble.equals("error"));
443 return scramble;
444 }
445
446 public static String scrambleTEG1(int twist) {
447 String scramble;

Callers 1

generateScrambleMethod · 0.95

Calls 5

randomTEGMethod · 0.95
get8PermMethod · 0.95
oriToIdxMethod · 0.95
solveMethod · 0.95
equalsMethod · 0.45

Tested by

no test coverage detected