diff options
| -rwxr-xr-x | README.md | 28 |
1 files changed, 23 insertions, 5 deletions
| @@ -3,14 +3,32 @@ | |||
| 3 | 3 | ||
| 4 | <p align="center"> | 4 | <p align="center"> |
| 5 | A 2x2 Rubik's cube visualizer for Clingo, built with Three.js | 5 | A 2x2 Rubik's cube visualizer for Clingo, built with Three.js |
| 6 | <br> | ||
| 7 | <img src="https://git.dyamon.me/projects/rubik/plain/resources/screenshot.jpg" alt="PocketCube screenshot" width="400"> | ||
| 8 | </p> | 6 | </p> |
| 9 | 7 | ||
| 10 | # How to | 8 | <p align="center"><img src="https://git.dyamon.me/projects/rubik/plain/resources/screenshot.jpg" alt="PocketCube screenshot"></p> |
| 11 | 9 | ||
| 12 | Clone the repository and open `index.html` in your browser. | 10 | # Running the simulator |
| 13 | 11 | ||
| 14 | 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). | 12 | 1. Clone the repository |
| 13 | |||
| 14 | ```sh | ||
| 15 | git clone https://git.dyamon.me/projects/rubik | ||
| 16 | ``` | ||
| 17 | |||
| 18 | or download a snapshot of the code with either | ||
| 19 | |||
| 20 | ```sh | ||
| 21 | https://git.dyamon.me/projects/rubik/snapshot/rubik-master.tar.gz | ||
| 22 | ``` | ||
| 23 | |||
| 24 | or | ||
| 25 | |||
| 26 | ```sh | ||
| 27 | wget https://git.dyamon.me/projects/rubik/snapshot/rubik-master.zip | ||
| 28 | ``` | ||
| 29 | |||
| 30 | 1. Open `index.html` in your browser. | ||
| 31 | |||
| 32 | 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). | ||
| 15 | 33 | ||
| 16 | The `examples` folder contains a few examples. | 34 | The `examples` folder contains a few examples. |
