/8-Puzzle

8 Puzzle Solver using Genetic Algorithm

Primary LanguageJavaScriptMIT LicenseMIT

8 Puzzle Solver Using Genetic Algorithm

This project is a Web App that creates and solves the 8 Puzzle Problem using Genetic Algorithm.

Preview

ImgBB

Languages used:

  • Python (Server Backend & Business Logic)
  • Javascript (DOM Manipulation & Frontend Logic)
  • CSS (Styling)
  • HTML (Frontend Markup)

Python Major Libraries & Frameworks used:

  • Flask
  • Flask-SocketIO
  • Simple-Websocket
  • Numpy

Step to get the project running:

  1. Clone this repo
  2. Create Python 3 virtual environment python3 -m venv venv
  3. Activate the virtual enviroment . venv/bin/activate (For Linux, bash prompt)
  4. Install python dependencies pip install -r requirements.txt
  5. Start the Flask server python app.py
  6. Visit the Web App in browser at http://127.0.0.1:5000
  7. Congratulations, the Web App is Up and Running!