Lizard Posted March 25, 2016 Share Posted March 25, 2016 Hello guys, I want to create game like this. It some kind of mahjong games. http://www.funnygames.nl/spel/vlindervreugde.html So the main problem is pathfinding algorithm wich will solve this task. In few words it no matter how long it will be, but it should have not more then 2 turns. I tryed solve this task with A* algorithm. I add extra weight for cells wich not on the same way as pre previous. So it solving some cases but when it have solution with long route and 2 turns and short route with 2+ turns it not solving the task. Also i tryed algorythm Lee it interesting way to solve the task and i believe it possible do it with it, but it too complex to analyse all possible routes. May be here is exist some easier way? Best regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.