Closed rubo77 closed 4 years ago
Would it be easy to implement the export function of drifting droids In roboyard?
Then we could more easily transfer the game board into drifting droids to check if the error is in the solver
I've copied the game state from your screenshot into DriftingDroids:
!DriftingDroids_game!F1586A4C!AAAEL3ja5ZLdDYAgDIT7JcQXH3RGx3AHJ3QZiz8
JHCAD0OQa+nOUCzUzWyOCu8WxOzbHSZgnxKxvvIgeySdV/shISzqYJ6YzvIhaFCXUyjTq
lH0yU59GJr/Cf+ST8fn0UlKySK9GxNHRS7NzkP+mtvADL8CbOu6Tey6k+gPJ!
It works correctly and finds several 14-moves solutions.
The code that loads and saves the game state using this text format is implemented in:
class Board
public static Board createBoardGameDump(final String dump)
public String getGameDump()
On this puzzle roboyard thinks it finds a solution with 12:
but when you click on the solve button, it gets stuck after two moves