Question: SUBJECT You will implement a puzzle using HTML, CSS, Javascript and jQuery (don't use DOM API). The system will divide the image into 9 pieces,

 SUBJECT You will implement a puzzle using HTML, CSS, Javascript and

SUBJECT You will implement a puzzle using HTML, CSS, Javascript and jQuery (don't use DOM API). The system will divide the image into 9 pieces, and distribute them randomly in "Pieces" part. The user tries to bring the pieces together to form the orginal image. She selects a piece in "Pieces" part by clicking on it and places it onto appropriate place on the "Puzzle" part. When all pieces form the correct image, it displays "Congratulations" text. If the user does not solve the puzzle by herself, she can see the solution by clicking on "Hint" button. Watch the given animation file (WatchMe.mp4) that shows what you are supposed to do. Use your own picture. Its size would be 300x300pixels, each piece is 100x100pixel Grading Criteria: 1 Design the initial appearance of the page. Use at least one google font. See Figure 1. 2. "Hint" button changes its appearance when the mouse enters and exits 3 4 Distribute 9 pieces into "Pieces" region randomly When you click on (select) a piece in the "Pieces" region, mark its border with yellow color. After selecting a piece, if you click an empty cell in the "Puzzle" region, show the selected piece in the clicked cell. Fade out the selected piece in "Pieces" region 5. 6. After selecting a piece, if you click a filled cell in the "Puzzle" region, swap the pieces If you click a cell with an image in the Puzzle without any selection, remove it from the clicked cell 7 8 and show it in "Pieces" region at its initial position. (Send the image back to Pieces region) If you place all the pieces in the "puzzle" region, "Congratulation" message appears. If you click "Hint" displays numbers in "pieces" and "puzzle part, shows the correct mapping from "pieces" to "puzzle" part. This means, it gives hints about the solution. If you click "Hints" again, 9. it hides the numbers. Orginal Image Pieces Puzzle Hints Orginal Image Pieces Puzzle Hints

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!