https://rocoderes.com/slide-puzzle-game-in-html-css-and-javascript/
How To Make Slide Puzzle Game in JavaScript