suliman-99 / 8Puzzle

This is a small Django app for 8Puzzle game (Give the solution by A* Algorithm)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

8Puzzle

This is a small Django app for 8Puzzle game (Give the solution by A* Algorithm)

note: the program give you the solution for your test (the program dont generate games for you to play)

Game Explanation:

this is a game where you want to access the End Puzzle starting from the Start Puzzle

the puzzle size here is 3*3

the only move can be applied is to swap the empty cell with any adjacent cell

you can try the default test or enter a custom test

be sure there is a solution before you try it

installation

first open cmd in the place you want to download the project in then write this commands :

1- git init

2- git pull https://github.com/suliman-99/8Puzzle.git

3- pipenv install

4- pipenv shell

5- python manage.py runserver

go to your browser and open http://127.0.0.1:8000/ and enjoy it!


Feel free to use the code My Freind ^_^ .

If you know how to fix an issue, please open a pull request for it and I will be happy with your contribution.

Suliman Awad.

About

This is a small Django app for 8Puzzle game (Give the solution by A* Algorithm)


Languages

Language:Python 68.2%Language:HTML 31.8%