8-slider-final

by abjoshi
See Code Download Embed
Author: Abhay B. Joshi (abjoshi@yahoo.com)

How to play the game:
1.	Click the “Green flag”: everything is reset to the original state.
2.	Click "Shuffle" to get a shuffled state, i.e. the numbers won't be in order.
3.	Click any neighboring cell (of the blank square) to swap its position with the blank square. Solve the puzzle by arranging number 1 thru 8 in order.
4.	Or, ask the program to solve the puzzle any time by clicking "solve".


If you want to understand how I designed this program, please refer to my book:
"Adventures in Snap Programming" available on Amazon.com

Created May 28, 2020

Last updated October 19, 2020

Published May 29, 2020