vasu-gondaliya / rubiks-cube

A Rubik's Cube Visualizer with face turns, cube rotations, scramble generator, flat view of cube and cube animation
https://vasu-gondaliya.github.io/rubiks-cube/
MIT License
28 stars 30 forks source link

Bug : After rotating the cube, the command doesn't work properly #20

Closed ptechofficial closed 1 month ago

ptechofficial commented 3 years ago

After rotating the cube, if we click on 'left clockwise' button, it still refers to the ring which was left in the initial view.

ptechofficial commented 3 years ago

@vasu-gondaliya Can you add the required labels to this issue?

vasu-gondaliya commented 3 years ago

Yes, this is a major part remaining in the project. This was in my sight from the very first. All the cube moves are respect to the fixed positions where, White is on top, Green is on Front and Red is on Right Side. All the face turns are with respect to this configuration. Something needs to be added so that for all the 24 configuration, the moves will be consistent.

vasu-gondaliya commented 3 years ago

There is always a brute force way available but let's keep it in backup. We can add transition configuration for all the 24 cube configurations for all the 6 moves which will result in array of 24X6 dimension and all the entries need to be done manually. So if nothing efficient comes up, we can always do this.

ptechofficial commented 3 years ago

Yeah, i'll think about this, i might be able to come up with some other way.

athanasiab commented 3 years ago

Hello! I would like to work on this issue, is it still open?

choia4 commented 4 months ago

Hi, is this issue still open?