Skip to content

luchiago/8-puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8 Puzzle

Implementation of BFS, DFS, Greedy and A* search for 8 puzzle solution

Getting Started

Prerequisites

You must have python 3.x in your computer To verify, run

python --version

or

python3 --version

Create a virtualenv for packages

python -m venv <name_of_your_env>

or

python3 -m venv <name_of_your_env>

Installing

Activate the virtualenv

  • Windows
<name_of_your_env>\Scripts\activate
  • Linux
source <name_of_your_env>/bin/activate

Should appear (<name_of_your_env>) next to you command line (bash, cmd...) Run this command to install dependencies

pip install -r requirements.txt

Execution

To execute the program

python solucao.py

Should appear a tkinter frame to insert the problem you want

Releases

No releases published

Packages

No packages published

Languages