+--++--++--++--+ |15||11|| 5|| 3| +--++--++--++--+ +--++--++--++--+ |13||14|| 9|| 1| +--++--++--++--+ +--++--++--++--+ | 4|| 8||10|| 7| +--++--++--++--+ +--++--++--+ | 2||12|| 6| +--++--++--+
How to install
git clone https://github.com/TPKato/15puzzle
make
touch /var/games/15puzzle.score
chmod 666 /var/games/15puzzle.score # This might be insecure!
Edit 15puzzle.c or pass -DSCOREFILE=\"...\" option
to change the location of the score file.
How to play
Command line options
-
-r -
reverse mode
-
-x -
width of tiles
-
-y -
height of tiles
-
-s -
show score (and exit)
-
-h -
help
Key bindings
In parentheses: the behavior when -r option is specified
- h
-
left (right = move empty tile to left)
- j
-
down (up)
- k
-
up (down)
- l
-
right (left)
Repository
License
-
MIT License