Skip to content
 
 

Repository files navigation

A puzzle present

This project contains the source of the puzzle game as a gift to wish..

Development

The wish is developed in Elm. You can build the wish by executing the following command

make

Configuration

The wish can be configured by passing flags to the applications. The table below describes the flags.

Section Option Type Example Explanation
puzzle rows integer 4 The number of rows of tiles
columns integer 4 The number of columns of tiles
image src string image/star.jpg The image that will be shuffled
width integer 197 The width of the image
height integer 197 The height of the image
shuffle minimum integer 20 The minimum number of swaps when shuffling
maximum integer 50 The maximum number of swaps when shuffling
wish message string SGVsbG8sIFdvcmxkIQo= Base64 encoding of a Markdown message
hints indices boolean false Determines if the indices are shown
solveAfter integer 10 How many swaps need to be made before solve button is shown

Releases

Packages

Contributors

Languages