How to build a user interface for a game involving different types of player moves, including putting together a jigsaw puzzle
How to use the mouse to reposition pieces
How to acquire an image, break it up into pieces, and determine the coordinates for those pieces to produce a jigsaw puzzle
How to encode and retrieve the current state of the jigsaw game
How to use localStorage to store and retrieve the information, including using try and catch for situations when localStorage is not allowed
9. US States Game: Building a Multiactivity Game
Get HTML5 and JavaScript Projects: Build on your Basic Knowledge of HTML5 and JavaScript to Create Substantial HTML5 Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.