A javascript solver to the classical 15-Puzzle game, abstracted to take any nxn size grid finding solutions through pattern matching rather than graph search.