This is a simple 15-puzzle (also known as Gem Puzzle, Boss Puzzle, Game of Fifteen, Mystic Square, etcetera) that I wrote in JavaScript long ago. Enjoy!




Scramble