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

# Running the simulator
Clone the repository
```
git clone https://git.dyamon.me/projects/rubik
```
or download a snapshot of the code with either
```
wget https://git.dyamon.me/projects/rubik/snapshot/rubik-master.tar.gz
```
or
```
wget https://git.dyamon.me/projects/rubik/snapshot/rubik-master.zip
```
Open `index.html` in your browser.
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.