Search code examples
c#objectdata-modelingrubiks-cube

Make an object model of a rubik's cube


I've made a small algo which allows me to resolve a rubik's cube on the paper.

I now want to implement it, but I can't found an object representation which satisfied me.

I easily can see a rubiksCube object, and a "cube" object, which can be implemented by a face, a corner or an edge.

But I need some objects between, to specify on which place is which cube.

The final goal is that I can easily make some rotation on it.

Do you have an idea about how to represent this?

Thank you very much


Solution

  • This CodeProject's article looks exactly what you need. It has all the movements and solvers funcs as well.