- Mastering jQuery UI
- Vijay Joshi
- 159字
- 2021-07-23 20:33:35
Chapter 2. Building a Jigsaw Puzzle Game
Moving forward a bit more, in this chapter, we will see more (and slightly complex) use cases of draggable and droppable components. We will develop a jigsaw puzzle game where we will divide a picture into small pieces of the same size, and the user will have to rearrange these small pieces by dragging and dropping them to form a complete picture.
The UI will have two containers on the page. One container will be used to keep the puzzle pieces, and the other will act as a canvas for arranging these pieces. Initially, users will be displayed a picture along with a Start button. Once the Start button is clicked, the image will be divided into 16 pieces and these pieces will be placed in a separate container. Users will have to drag and drop the individual pieces on the canvas and arrange them to make the complete picture.
- SQL Server 從入門到項(xiàng)目實(shí)踐(超值版)
- 數(shù)字媒體應(yīng)用教程
- 高效微控制器C語言編程
- 架構(gòu)不再難(全5冊)
- 深入理解Django:框架內(nèi)幕與實(shí)現(xiàn)原理
- MySQL數(shù)據(jù)庫管理與開發(fā)(慕課版)
- SAS數(shù)據(jù)統(tǒng)計(jì)分析與編程實(shí)踐
- Java EE 8 Application Development
- jQuery Mobile移動應(yīng)用開發(fā)實(shí)戰(zhàn)(第3版)
- UVM實(shí)戰(zhàn)
- 好好學(xué)Java:從零基礎(chǔ)到項(xiàng)目實(shí)戰(zhàn)
- Practical Game Design with Unity and Playmaker
- Learning Hadoop 2
- BeagleBone Robotic Projects(Second Edition)
- QPanda量子計(jì)算編程