/slider-game

Sliding puzzle solver using iterative deepening best first search, implemented in Matlab.

Primary LanguageMATLABMIT LicenseMIT

slider-game

Sliding puzzle solver using iterative deepening best first search, implemented in Matlab.

This program solve this class of puzzle: https://en.wikipedia.org/wiki/15_puzzle, the puzzle size can be arbitarily large.

Minimal recommended resolution: 1024x768

  • To launch the GUI, run slide_game_gui, click the number adjacent to the blank button to move the blank button around.
  • To generate a puzzle, run gen_puzzle.
  • To solve a puzzle, run solve_puzzle.

Screenshot

Screenshot

License

This repository is licensed under MIT License, for more details, have a look at LICENSE.