You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure is this is the correct place to raise this, but I solve this level in 16.
I also don't know the nomenclature to capture the moves, or where in the code to update the best move data. And if it is a solver, how to go about teaching it whatever it is it missed.
Mark.
The text was updated successfully, but these errors were encountered:
Hello Mark, yes in very few levels my solving algorithm needed one move more. Theoretically the solving algorithm (https://en.wikipedia.org/wiki/A*_search_algorithm) should always find the best solution, but it looks like I have/had a little mistake in the first levels when I created them. So I made sure the level will be marked as "solved perfect" even if you took less moves than the calculated optimum.
A solution step in not very "human readable", since it is created automatically and I tried to minimize the data (save storage). The solution is a sorted list of steps, where only the delta of each block will saved: negative delta -> up/left, positive delta -> down/right, depending on the orientation of one block. I'll take a look at the level :)
Not sure is this is the correct place to raise this, but I solve this level in 16.
I also don't know the nomenclature to capture the moves, or where in the code to update the best move data. And if it is a solver, how to go about teaching it whatever it is it missed.
Mark.
The text was updated successfully, but these errors were encountered: