Skip to content

visualizes the fastest solution to the 8-Puzzle. Ability to choose which Blind Search algorithm you want to solve it with.

Notifications You must be signed in to change notification settings

SpasZahariev/8-Puzzle-Solver

Repository files navigation

Tile-swap puzzle solver

Desccription

  • Java Application that simulates the classig puzzle game and shows how to get a tile from point A to B.
  • Users can chose between different treversal algorithms like A*, Breadth-First Search, Depth-First Search, and their variations.
  • Presents the number of actions needed for every algorithm to solve the puzzle.
  • The game board can be set to any NxN size
  • There is a twist! Users can place immovable red blocks that the algorithms have to work around. Caution: it is possible to make the puzzle impossible this way.

Technologies used

  • Java 8
  • Java FX

Setup project locally

Run commands in a terminal:

javac PuzzleBoard.java

java PuzzleBoard

Original Puzzle And Pictures of the app

About

visualizes the fastest solution to the 8-Puzzle. Ability to choose which Blind Search algorithm you want to solve it with.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages