HTML5, CSS, JavaScript Features, Programming Techniques, and Image Processing

The features and techniques to implement the educational states game are, for the most part, things you have seen before. However, putting them together can be tricky, so there will be some redundancy between this chapter and the material in previous chapters.

Acquiring the Image Files for the Pieces and Determining Offsets

Image files for each of the 50 states are part of the downloads for this chapter. However, since you may want to make your own map puzzle, I will describe how to make the puzzle pieces and how to determine the information for checking positioning and for restoring the completed map.

The first tasks for making the individual pieces representing the ...

Get HTML5 and JavaScript Projects 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.