lymacasm / Rubik-s-Cube

Rubiks's Cube Solver Repository
1 stars 1 forks source link

Add a class that assumes any face is front #16

Closed lymacasm closed 9 years ago

lymacasm commented 9 years ago

Add a Face class that initializes itself with a face index. It will then assign itself rotation directions depending on the face index, assuming the face is front. Example:

face index : 0 self.Upper = rotate.upper self.Down = rotate.down self.Left = rotate.back self.Right = rotate.front self.Front = rotate.left self.Back = rotate.right

batesandy123 commented 9 years ago

This is a good idea