# DiplomaThesisCode
Source code for diploma thesis "Complexity of solving puzzles".

All subdirectories contains `README` files with information about its content.

## Preparation

First, clone the directory:
```
git clone git@github.com:Arasid/DiplomaThesisCode.git
```

Create virtuanenv:
```
pyenv virtualenv 3.6.1 diploma
```
and create file in first directory with name of `pyenv`:
```
cd DiplomaThesisCode
echo "diploma" > .python-version
```

Install all requirements:
```
pip install -r requirements.txt
```

## Content

* `README.md` - you are reading me right now :)
* `code/` - directory containing all source code
* `data/` - directory containing all data
* `requirements.txt` - requirements for `Python`

## Running

We have three "puzzles": `tilt_maze`, `cz_sokoban` and `ru_sokoban`.

Directories `code` and `data` contain one directory for every puzzle.

When you want to run experiments for puzzle, go to directory `code/<puzzle_name>`.
It contains `README` file with further instructions.

If you want to observe the data of puzzle, go to directory `data/<puzzle_name>`.
It contains `README` file with necessary information about files.

