Skip to content

Commit d169b5a

Browse files
added a self-developed 3x3 rubiks cube solution.
1 parent ba51561 commit d169b5a

File tree

1 file changed

+72
-0
lines changed

1 file changed

+72
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
2+
## Algorithms
3+
4+
### Swap two corners
5+
6+
This algorithm swaps the upper front two corners while also changing four edge pieces.
7+
8+
r r t d' r r t' r r d r r d' r r d r r t'
9+
= r2 t d' r2 t' r2 d r2 d' r2 d r2 t'
10+
11+
Order: 4
12+
13+
### Flip two edges
14+
15+
Flip the upper front and upper back edges in-place without changing any other pieces.
16+
17+
slice_y t slice_y t slice_y t slice_y t slice_y' t' slice_y' t' slice_y' t' slice_y' t'
18+
= 4*(slice_y t) 4*(slice_y' t')
19+
20+
Order: 2
21+
22+
### cycle three edges counterclockwise
23+
24+
Cycle the upper front, upper right, and upper back edges counterclockwise without changing any other pieces and without flipping them.
25+
26+
2*(r r t r r t r r t t r r t t)
27+
= 2*(r2 t r2 t r2 t2 r2 t2)
28+
= 2*(r2 t) 2*(r2 t2)
29+
30+
Order: 3
31+
32+
### Cycle three corners counterclockwise
33+
34+
Cycle all upper corners but the front right one counterclockwise without changing any other pieces. This also rotates each corner arount its axis through the COM 120° clockwise.
35+
36+
t r t' l' t r' t' l
37+
38+
Order: 3
39+
40+
### rotate 2 or 3 corners clockwise
41+
42+
Rotate the bottom front right corner clockwise 120°. Repeat if it needs to be rotated 240°, otherwise follow with d or d', then repeat to get a total of 360° rotation on 2 or 3 corners. AFterwards, reverse all d/ d' moves.
43+
44+
2*(r t r' t')
45+
46+
Order: 3
47+
48+
Example:
49+
50+
1. rotate bottom 3 corners clockwise except the front left one:
51+
2*(r t r' t') d' 2*(r t r' t') d' 2*(r t r' t') d d
52+
53+
2. rotate bottom front two corners clockwise, right by 120°, left by 240°:
54+
2*(r t r' t') d 4*(r t r' t') d'
55+
56+
### turn upper center 180°
57+
58+
Rotate the upper center 180°, also changes rotation of some other centers.
59+
60+
8*(slice_y t)
61+
62+
Order: 2
63+
64+
## Solution strategy
65+
1. Solve first layer's corners intuitively with correct orientation.
66+
2. Try to cycle bottom layer's corners to get correct positions.
67+
3. If necessary, swap two of the bottom corners.
68+
4. Rotate bottom layer's corners to get correct orientation.
69+
5. solve first layers edges intuitively.
70+
6. solve second layer's edge positions by cycling 3 at a time.
71+
7. solve top layer edge positions by cycling 3 at a time.
72+
8. flip edges pairwise.

0 commit comments

Comments
 (0)