bellerb / RubiksCube_Solver

Rubik's cube solver written in python 3 for the console
MIT License
27 stars 17 forks source link

Updated main.py #1

Closed Rever2d closed 12 months ago

Rever2d commented 1 year ago

Hey man love this program it has been a good inspiration towards my Rubik's cube solver college project however running the code multiple times does not work as the heuristic file is not deleted which causes some issues running the program the second time over.

bellerb commented 1 year ago

why are you wanting to delete the heuristics file every time? In the code, I have it so it will re-use the same heuristics file to speed up solving times.

Rever2d commented 1 year ago

Sorry I understand it more thank you I mistook the speed as the program itself not doing the search. This is the first time dealing with a heuristic thank you.

bellerb commented 1 year ago

Oh no problem, it's a little confusing since I've seen other heuristics as equations where this is more of a look up in a map.

Rever2d commented 1 year ago

Thank you though your blog and code has been useful to me designing my project for college instead of using a search algorithm I'm just using the cfop algorithm so its more unique cause and as well adding a feature to use the webcam to figure out the Rubik's pattern to solve.