blob: bcd7b45a6eb587a0df96c1ec26489d04159200a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<h1 align="center">· PocketCube ·</h1>
<p align="center">
A 2x2 Rubik's cube visualizer for Clingo, built with Three.js
</p>
<p align="center"><img src="https://git.dyamon.me/projects/rubik/plain/resources/screenshot.jpg" alt="PocketCube screenshot"></p>
# 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.
|