Skip to content

Commit

Permalink
Remove clock pins from end of scramble
Browse files Browse the repository at this point in the history
As per email WRC request
  • Loading branch information
gregorbg committed Dec 14, 2023
1 parent 88cff09 commit 590047d
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,6 @@ public PuzzleStateAndGenerator generateRandomMoves(Random r) {
scramble.append(turns[x]).append(turn).append(clockwise ? "+" : "-").append(" ");
}

boolean isFirst = true;
for(int x=0;x<4;x++) {
if (r.nextInt(2) == 1) {
scramble.append(isFirst ? "" : " ").append(turns[x]);
isFirst = false;
}
}

String scrambleStr = scramble.toString().trim();

PuzzleState state = getSolvedState();
Expand Down

0 comments on commit 590047d

Please sign in to comment.