The cornerstone of this implementation is the Piece class. Import from the rubik package, > from rubik.cube import Cube > c = Cube ( "OOOOOOOOOYYYWWWGGGBBBYYYWWWGGGBBBYYYWWWGGGBBBRRRRRRRRR" ) > print ( c ) OOO OOO OOO YYY WWW GGG BBB YYY WWW GGG BBB YYY WWW GGG BBB RRR RRR RRR Implementation Piece An unintelligent solution sequence optimizer The online Rubiks Cube solver calculates the steps needed to solve a scrambled Rubiks Cube from any valid starting position.A solver that follows a fixed algorithm.This is a Python 3 implementation of a (3x3) Rubik's Cube solver.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |