http://www.hameister.org/JavaFX_PuzzleGame.html…