Some error occured while loading page for you. Please try again.
We use cookies to ensure you have the best browsing experience on our website.
Please read our cookie policy for more information about how we use cookies.
When I run my code, my output shows up in the "Output" column beside the input in the "Input" column briefly, but then it all disappears and an empty "Error" box appears while the puzzle animation continues. Once the animation finishes showing the 24 moves output by my program (which solve the puzzle), it says "You have lost the game". As expected, when I submitted my code, I lost all 6 games. I'm not sure why the "Error" box appears and why it's empty and I assume that this is preventing my program from winning the game.
Any ideas about what I should do? Thank you!
(fyi I used A* graph search with the number of misplaced tiles as the heuristic)
When I run my code, my output shows up in the "Output" column beside the input in the "Input" column briefly, but then it all disappears and an empty "Error" box appears while the puzzle animation continues. Once the animation finishes showing the 24 moves output by my program (which solve the puzzle), it says "You have lost the game". As expected, when I submitted my code, I lost all 6 games. I'm not sure why the "Error" box appears and why it's empty and I assume that this is preventing my program from winning the game.
Any ideas about what I should do? Thank you!
(fyi I used A* graph search with the number of misplaced tiles as the heuristic)
Add Reply Preview cancel