Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.37 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.37 KB

UnblockMe-solver

A program to find a step-by-step solution to any Unblock Me puzzle, given the initial arrangement of blocks.

The solver is available in two modes:

  • Terminal mode : The data has to be fed to the program manually from the terminal. This makes it rather cumbersome. But for terminal-lovers, it is the ideal `mode`
  • Graphical User Interface (GUI) mode : The initial configuration has to be supplied via mouse clicks. This mode is very quick and easy-to-use. It is the preferrable mode for lazy people (like me!).

Screenshots

  • Terminal mode

    Input window

    Solution window 1

  • GUI mode

    Input window

    Solution window 1 Solution window 2

Requirements

  • Java SE 8
  • Java Swing and AWT classes

Setup and execution

Download or clone the repository to your machine. cd into the directory and then open the terminal.

Type the following command in the terminal to compile the source code:

bash configure.sh

Then type this command to run the program:

bash run.sh

Future prospects

Implementing auto-detection of blocks from image captured through webcam and feeding the detected information directly to the solver