En cours

Locate and fix error in javascript function

I have a javascript function set to solve a fifteen-puzzle (also known as an n-puzzle).

The page lets the drag and drop the puzzle pieces into a scrambled position on a grid, and then click the solve button to have it solved step by step. The function works if the pieces are not placed into the grid, but once placed in the grid the function fails to update the view and ends in a fatal error.

The page utilizes jQuery with jQuery UI using $.draggable and $.droppable for the scrambled grid and puzzle piece movement, and a modified version of the puzzle solver off Jaap's Puzzle Page (permission ahs been granted to use modified code by the author) at [url removed, login to view]

Compétences : HTML, Javascript, jQuery / Prototype

Voir plus : fix html error, solver, locate, jquery grid, jquery fix, function, fix error, fatal, error, javascript click puzzle, html code drag, drag html, jquery error fix, drag click html, jquery drag drop grid, html drag, code function, html code error, draggable click, javascript drag drop position, update jquery, code jquery drag drop, javascript drag, javascript puzzle, puzzle javascript

Concernant l'employeur :
( 8 commentaires ) Stavanger, Norway

N° du projet : #1077393