Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case "right":
- for (int iterations = 0; iterations < moves; iterations++)
- {
- for (int col = rubik.Length - 1; col > 0; col--)
- {
- var temp = rubik[rowCol][col];
- var next = rubik[rowCol][col - 1];
- rubik[rowCol][col - 1] = temp;
- rubik[rowCol][col] = next;
- }
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment