2021-12-29 06:30:47 +00:00
|
|
|
# Puzzle15 - A 15-puzzle for the Bangle.js 2
|
|
|
|
|
2022-01-03 17:12:04 +00:00
|
|
|
This is a Bangle.js 2 adoption of the famous 15 puzzle.
|
2021-12-29 06:30:47 +00:00
|
|
|
|
2022-01-03 17:12:04 +00:00
|
|
|
## The game
|
|
|
|
|
|
|
|
A board of n x n fields is filled with n²-1 numbered stones.
|
|
|
|
Bring them in the correct order so that the gap is finally at the bottom right of the playing field.
|
|
|
|
The less moves you need, the better you are.
|
2021-12-29 06:30:47 +00:00
|
|
|
|
|
|
|
## How to play
|
|
|
|
|
2022-01-03 17:12:04 +00:00
|
|
|
Select whether you want to play on a board with 3 x 3, 4 x 4, or 5 x 5 fields.
|
|
|
|
Move the stones with drag gestures on the screen.
|
|
|
|
If you want to move the stone below the gap upward, drag from the bottom of the screen upward.
|
|
|
|
The drag gestures can be performed anywhere on the screen, there is no need to start or end them on the stone to be moved.
|
|
|
|
|
|
|
|
If you managed to order the stones correctly, a success message appears.
|
|
|
|
You can continue with another game, go to the game's main menu, or quit the game entirely.
|
|
|
|
|
|
|
|
There is a menu button right of the board. It opens the game's main menu.
|
|
|
|
|
|
|
|
## Implemenation notes
|
2021-12-29 06:30:47 +00:00
|
|
|
|
2022-01-03 17:12:04 +00:00
|
|
|
The game engine always generates 15 puzzles which can be solved.
|
2021-12-29 06:30:47 +00:00
|
|
|
|
|
|
|
Have fun!
|