· PocketCube ·
A 2x2 Rubik's cube visualizer for Clingo, built with Three.js

# Running the simulator
1. Clone the repository
```sh
git clone https://git.dyamon.me/projects/rubik
```
or download a snapshot of the code with either
```sh
https://git.dyamon.me/projects/rubik/snapshot/rubik-master.tar.gz
```
or
```sh
wget https://git.dyamon.me/projects/rubik/snapshot/rubik-master.zip
```
1. Open `index.html` in your browser.
1. Click on `Select File` and load a previously exported file or a file containing the output of `asp/20_rubikigne.lp` (compatible with Clingo >=4.0.0).
The `examples` folder contains a few examples.