-
Notifications
You must be signed in to change notification settings - Fork 4
Description
For the 3x3x3 cube, GUI is rendering, but there is no solution(steps) for it!
Scramble moves and hash is working fine but after enter it is giving error as below:
Traceback (most recent call last):
File "C:\Users\hanis\CubeAI\main.py", line 101, in
ai(args.a, args.n, args.s, heuristic)
File "C:\Users\hanis\CubeAI\main.py", line 63, in ai
path = ai.solve()
File "C:\Users\hanis\CubeAI\AIs.py", line 264, in solve
bound = self.heuristic(self.cube)
File "C:\Users\hanis\CubeAI\Heuristic.py", line 52, in manhattanDistance
return myHeuristic.scoreCube(cube)
File "C:\Users\hanis\CubeAI\Heuristic.py", line 65, in scoreCube
score = score + myHeuristic.scorePiece(cube, i)
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
Does your code limited to 222 cube??