Abstract
In this chapter, you will learn the following:
-
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
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Jeanine Meyer
About this chapter
Cite this chapter
Meyer, J. (2018). US States Game: Building a Multiactivity Game. In: HTML5 and JavaScript Projects. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3864-6_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3864-6_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3863-9
Online ISBN: 978-1-4842-3864-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books