torus-puzzle-elm
Torus puzzle web app in Elm
Instructions
We will assume this project exists locally and we are logged into a shell where the root of the project is the working directory.
We will also assume Elm version 0.19.1 is installed.
View Web App
View the web app by completing the following steps
- compile the main module and
- navigate to the web app in a web browser.
We can compile the main module by running the following command
> elm make src/Main.elm --output=app/main.js
Solve Puzzle
When the web app is initially loaded, all of the puzzle pieces will be in the completed position. The picture used for this puzzle is of my dog, Gabriel. Isn't he cute?
The puzzle pieces can be shuffled by clicking on the "shuffle" button.
The rows and columns of the puzzle can be cycled by clicking on the arrow
buttons (▲,
Test
We will assume Node.js and elm-test are installed. Run the tests
with elm-test
command.