Giter VIP home page Giter VIP logo

mazesolver's Introduction

Maze Solver GUI

This is the project directory for the Maze Solver GUI.

Getting Started

Prerequisites

To run this program, only JDK is required and an IDE (e.g. Intellij) is suggested but not a requisite.

Installing

The program operates with no problem on java-1.8.0-amazon-corretto. If you run into troubles on other versions, please download this JDK from here. For basic JDK setup, please refer here

Operating

The Main.java file under src/main/ui directory is what should be run. Once the GUI is launched, you can choose to retrieve previously stored maze representation or enter new ones. Note that Maze is abstracted into 2D matrices, with path being represented as 1 and walls as 0.

To enter a new maze, first specify the size of the maze by filling ''' Row''' with height of maze and '''Column''' with width of the maze. Then, input the 0s and 1s in the input box below with each 0 and 1 separated by a space. If you enter anything other than 0 or 1, the GUI will require a new input.

Once you load the maze, please select the algorithm you want to use to solve the maze. Currently available algorithm options are Depth-First-Search (DFS) and Breadth-First-Search (BFS).

The program will return a random path if more than one path exist and path route is represented as '''*'''

mazesolver's People

Contributors

fred62879 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.