"Unblock Me" is an iPhone game (screenshot here: http://www.kiragames.com/games/unblockme-free.) I was wondering how would one go about solving this programmatically and what class of algorithms help out here.
Has anyone cracked this?
"Unblock Me" is an iPhone game (screenshot here: http://www.kiragames.com/games/unblockme-free.) I was wondering how would one go about solving this programmatically and what class of algorithms help out here.
Has anyone cracked this?
The more familiar name of this game is "Rush Hour":
http://www.google.com/search?&q=%22rush+hour%22+puzzle+algorithm
I'm afraid you have no other option than brute force search. Although with best-first search, using a clever heuristic and eliminating repeated states, I imagine the search space is not that big.