Does anyone have Lua code to solve the 8 Puzzle or 15 Puzzle of n width and height? Would really help me out if you do!
Thanks,
Matt
Does anyone have Lua code to solve the 8 Puzzle or 15 Puzzle of n width and height? Would really help me out if you do!
Thanks,
Matt
Thanks, but does that solution include an auto-solving function?
No, I don’t think it does…
Here is another template by Ed Maurina named “Sliding Puzzle Game Template” -> http://roaminggamer.com/makegames
Maybe you can work something out from that.
What do you mean by auto solve.
The app solves the puzzle without user input - ie moves the tiles per game mechanics to solve the puzzle - so effectively an animation of moves for like @30 seconds ( 1 move = 1 second ).
Or a translate animation to final solution?
T.
By auto solve I mean that the game can solve the puzzle itself.
Thanks, but does that solution include an auto-solving function?
No, I don’t think it does…
Here is another template by Ed Maurina named “Sliding Puzzle Game Template” -> http://roaminggamer.com/makegames
Maybe you can work something out from that.
What do you mean by auto solve.
The app solves the puzzle without user input - ie moves the tiles per game mechanics to solve the puzzle - so effectively an animation of moves for like @30 seconds ( 1 move = 1 second ).
Or a translate animation to final solution?
T.
By auto solve I mean that the game can solve the puzzle itself.