Are there standard axes/orientations for Rubik's Cube game programs?

In summary, the author learned how to solve the Rubik's cube by noting the results of a move sequence, and then solved the instant insanity cubes using a tree diagram and a rule to decide whether a given branch was valid.
  • #1
berkeman
Mentor
67,023
19,836
I did a PF search to try to see if this was discussed before, and didn't find what I was wanting to ask about (I could have missed it). :smile:

I'm writing a Rubik's Cube game C/C# program for fun (starting with a console app and working up through various GUI options). I'd like to use a standard axis representation of the Rubik's cube if it exists already. If it doesn't exist already, I'll just define my own and proceed on.

Does anybody know of any existing standards? The two images below seem to be pretty common (and they look consistent to me). They would imply that I could define the starting x-y-z planes as G-R-Y, with the origin in the corner of the GRY sub-cube. does that seem like a standard starting origin?

Also, are all Rubik's Cubes manufactured with the same initial starting position, or can you buy different new Rubik's Cubes with the colors on different sides? No big deal for my programming exercise, but I'm just curious. Maybe there is a Rubik's Cube Standards Body that I don't know about yet. :smile:

Finally, can anybody recommend a good quality Rubik's cube for me to buy to play with along with my program? I've owned cheap plastic Rubik's Cubes in the past, and they were very frustrating to work with (very sticky and imprecise in their action). If there were a version with metal bearings, I'd be willing to pay for that (up to a point, of course). I think I've looked through the Amazon offerings in the past, and they all looked like cheap plastic versions.

Thanks!

EDIT -- Because of a strange forum glitch, there is another image attached at the bottom of my ost. The color oredr appears to be different in that image, but I'm not sure...https://encrypted-tbn0.gstatic.com/...yuA_6UMtCcAKjGf7HimnxDa0bqkfJveY93ywMSdna8cPA
images?q=tbn:ANd9GcTTkx0UeyuA_6UMtCcAKjGf7HimnxDa0bqkfJveY93ywMSdna8cPA.jpg


https://upload.wikimedia.org/wikipedia/commons/thumb/1/19/Rubik%E2%80%99s_cube_colors.svg/220px-Rubik%E2%80%99s_cube_colors.svg.png
220px-Rubik%E2%80%99s_cube_colors.svg.png
 

Attachments

  • images?q=tbn:ANd9GcTTkx0UeyuA_6UMtCcAKjGf7HimnxDa0bqkfJveY93ywMSdna8cPA.jpg
    images?q=tbn:ANd9GcTTkx0UeyuA_6UMtCcAKjGf7HimnxDa0bqkfJveY93ywMSdna8cPA.jpg
    9.2 KB · Views: 616
  • rubik-solver.jpg
    rubik-solver.jpg
    5.9 KB · Views: 1,016
  • 220px-Rubik%E2%80%99s_cube_colors.svg.png
    220px-Rubik%E2%80%99s_cube_colors.svg.png
    1.1 KB · Views: 948
Last edited:
  • Like
Likes Nucleus _Basalis and anorlunda
Technology news on Phys.org
  • #3
That's awesome jedi, thanks! I had made up my own notation (+/- x, y, z), but am open to using anything that is more standard in the game community (or using both to learn more). Thanks.
 
  • #4
BTW, I enjoy playing chess, and I use standard move notation for recording my moves. Something analogous may exist for Rubik's Cubes, like in jedi's link...
 
  • #5
What fun. It was 40 years ago that I learned to solve the cube. It attracted attention from stewardess on planes. Then I discovered Collosal Cave Adventure and the cube was forgotten.
 
  • Like
Likes berkeman
  • #6
I never solved the Rubik’s cube. Not smart enough to figure it out from scratch.

However, I did solve the instant insanity cubes using a tree diagram and a rule to decide whether a given branch was valid. The rule was simple you couldn’t have more than two of any color along any path. In the end there were two possible solutions one of which was correct and other was not.

Each node of my tree were a color pair of opposite sides. It really amazed my friends who had no idea what I was doing on the paper.

As I think about it now. It would have been even more magically cool if I had lined up the cubes and rotated them in a kind of counting fashion until I found the solution but alas I just wasn’t up to the task.
 
  • Like
Likes anorlunda
  • #7
Perhaps you could built a software version which accepted the standard notation and correctly adjusted the displayed cube.

Also your two cube diagrams look compatible if you rotate the bottom one anti clockwise by 90 degrees.
 
  • #8
berkeman said:
Also, are all Rubik's Cubes manufactured with the same initial starting position
No, the original Rubik's cubes from the 1980's have white and blue on opposite sides, the newer (2000 or later?) ones white and yellow on opposite sides. This includes the Pocket Cube (2x2x2, all corners), Rubik's Cube (the classic 3x3x3) and Rubik's Revenge (4x4x4). Someone else created a Professor's Cube (5x5x5) back in the 1980's. Now there is a Rubik's 5x5, also (5x5x5).

Links

https://en.wikipedia.org/wiki/Pocket_Cube

https://en.wikipedia.org/wiki/Rubik's_Cube

https://en.wikipedia.org/wiki/Rubik's_Revenge

https://en.wikipedia.org/wiki/Professor's_Cube

The Japanese color scheme in this article shows the color scheme used in the 1980's cubes:

https://ruwix.com/the-rubiks-cube/japanese-western-color-schemes

In addition to the naming conventions shown in the wiki article and mentioned above, the Ideal solution books of the 1980's use a letter and number to identify planes, using "table" for the horizontal planes, "book" for the front to back vertical planes, and "window" for the left to right vertical planes, such as T1 for the top plane, B1 for the front plane, and W1 for the left plane. "Tables" are rotated "left" or "right" (as viewed from the front). "Books" are rotated "up" or "down" as viewed from the front. "Windows are rotated "clockwise" or "counter-clockwise" as viewed from the front.

I initially learned how to solve the Rubik's cube by noting the results of a move sequence, then taking it apart and putting it back together solved. My initial method was to solve the corners, then top, middle, bottom edges, but it turned out to be quicker to solve top and bottom edges, then the middle edges, although one of the sequences to swap two opposite edge pieces is a bit longer, which was called Rubik's maneuver.

This article starts off using down slices, but the original Rubik's maneuver started with up slices, and finished with down slices. The result is the same though.

https://en.wikiversity.org/wiki/Rubik's_Cube/Rubik's_Maneuver

The 4x4x4 version centers are not fixed. It's easier to place the top and bottom center pieces early on, just before or just after solving corners (they're independent, so the order doesn't matter). The edge pieces need to be paired up after which 3x3x3 moves can be used to solve them. With the 4x4x4, it's possible to end up with a flipped pair of edges (a flipped edge is not possible with 3x3x3, unless it's taken apart and put back together "wrong"). Fixing this is a somewhat lengthy sequence but fortunately you have visual cues for where you are in the process so it doesn't have to be fully memorized. The 1st and 2nd generation 4x4x4 internals includes a sphere with slots that the "legs" of the center pieces hook into. The 3rd generation is a bit different.

The 5x5x5 cube doesn't require learning any significantly new moves from the 4x4x4. The center "cross" pieces can be moved independently of the other pieces and move similar to the center pieces of a 4x4x4. The center edge pieces are the same as 3x3x3, and the outer edge pieces are the same as 4x4x4.

Speed cubers memorize patterns well enough that they don't need to see the cube state during intermediate steps, so they tend to solve one plane and then turn that plane away from them so that they only see the unsolved part of the cube. I'm only aware of "speed" versions of the 3x3x3 (a small amount of petroleum jelly or silicone spray can be used on the original Rubik's 3x3x3 cubes for speed) . The locking mechanism for the 3x3x3 pieces is fairly strong, while the internal locking for 4x4x4 and 5x5x5 cubes is not quite as strong and they tend to "snag" mid turn if not precisely lined up, so they're not good for speed solving. Computerized virtual cubes of any size can be "speed" solved, but most of the speed solving targets the 3x3x3.
 
Last edited:
  • Like
Likes berkeman and jedishrfu
  • #9
You also need some video encouragement



And this one from penn and teller fool us



I have to say this guy is just absolutely awesome
 
  • #10
And this solution video



Where the commentator discusses the rotations for the bag trick and the importance of cube orientation via the center color squares ie green face, blue face, white face...
 
  • #11
jedishrfu said:
You also need some video encouragement ... video
My wife watched that show on DVR and I looked at the Rubik's cube sequence. I figured out the "exposed" part where 1/2 the cube was solved at 3:20 into the original video. I wasn't sure about the rest of the tricks. For the puzzle handed to Simon to mix up, it's possible that there was a 3rd cube in the bag already mixed up identically to the 4th cube that the guy shows and that the 2nd cube that Simon mixed up is never shown again after it's put into the bag.
 
Last edited:
  • Like
Likes jedishrfu
  • #12
If interested here are videos of the internals. There are a few variations for 4x4x4 or larger cubes.

2x2x2



3x3x3



4x4x4 1st and 2nd generation:



5x5x5

 
Last edited:
  • #13
As mentioned in my prior post, there are variations of the 4x4x4. The main change from the old 4x4x4 cube is similar to how 5x5x5 cubes are made, replacing the internal sphere with a set of internal pieces that form a sphere like shape. There are 6 internal center pieces that can only rotate about the ends of internal X, Y, Z axis spokes. A set of internal pieces get locked into place (once fully assembled, partially assembled, these cubes easily fall apart), by the center pieces, and the external pieces lock into the internal pieces. The goal was to make a smoother turning 4x4x4 cube with less tendency to snag, but I've read different opinions about this.

4x4x4 Maru (one internal piece includes two tabs to make assembly a bit easier):



4x4x4 vcube



4x4x4 eastsheen version

 
Last edited:
  • #14
berkeman said:
Finally, can anybody recommend a good quality Rubik's cube for me to buy to play with along with my program? I've owned cheap plastic Rubik's Cubes in the past, and they were very frustrating to work with (very sticky and imprecise in their action). If there were a version with metal bearings, I'd be willing to pay for that (up to a point, of course). I think I've looked through the Amazon offerings in the past, and they all looked like cheap plastic versions.
Thanks for the great responses folks. Very helpful and useful.

I'd still like to buy a high-quality 3x3 Rubik's cube to use as I develop my program and work on learning how to solve the cube. I'd be willing to pay up to about $50 at Amazon if you have a good experience with a version of the cube. I'm guessing it should be made of light metal with metal ball bearings. OTOH, what do they use in Rubik's Cube tournaments? Those must be pretty easy to work with...
 

1. What is the standard orientation for a Rubik's Cube in game programs?

The standard orientation for a Rubik's Cube in game programs is with the white face on top and the green face on the front. This orientation is based on the most common real-life orientation of the cube.

2. Are there any variations in standard orientations among different Rubik's Cube game programs?

Yes, there may be slight variations in standard orientations among different Rubik's Cube game programs. Some programs may have different default orientations or allow the user to customize the orientation.

3. Why is the standard orientation important in Rubik's Cube game programs?

The standard orientation is important because it provides a consistent starting point for solving the cube. It also allows for easier communication and understanding among players and developers.

4. Can the standard orientation be changed in Rubik's Cube game programs?

Yes, in most game programs, the standard orientation can be changed. Some programs may have preset options for different orientations, while others may allow the user to manually adjust the orientation.

5. Is the standard orientation the same for all types of Rubik's Cubes?

No, the standard orientation may vary for different types of Rubik's Cubes, such as the 2x2 or 4x4 cube. However, the standard orientation for the traditional 3x3 cube is generally consistent among game programs.

Similar threads

  • STEM Academic Advising
Replies
13
Views
2K
  • Aerospace Engineering
Replies
2
Views
7K
  • Aerospace Engineering
Replies
5
Views
7K
Replies
21
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
9K
  • General Discussion
Replies
2
Views
3K
  • General Engineering
Replies
27
Views
8K
  • Sticky
  • Engineering and Comp Sci Homework Help
Replies
1
Views
19K
  • Sticky
  • Biology and Chemistry Homework Help
Replies
1
Views
15K
  • Sticky
  • Calculus and Beyond Homework Help
Replies
1
Views
22K
Back
Top